Files
feishin/src/shared/components/paper/paper.tsx
T
Jeff c1330d92b2 Migrate to Mantine v8 and Design Changes (#961)
* mantine v8 migration

* various design changes and improvements
2025-06-24 00:04:36 -07:00

28 lines
665 B
TypeScript

import type { PaperProps as MantinePaperProps } from '@mantine/core';
import { Paper as MantinePaper } from '@mantine/core';
import { ReactNode } from 'react';
import styles from './paper.module.css';
export interface PaperProps extends MantinePaperProps {
children?: ReactNode;
}
export const Paper = ({ children, classNames, style, ...props }: PaperProps) => {
return (
<MantinePaper
classNames={{
root: styles.root,
...classNames,
}}
style={{
...style,
}}
{...props}
>
{children}
</MantinePaper>
);
};