mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-26 15:37:41 +01:00
15 lines
281 B
TypeScript
15 lines
281 B
TypeScript
|
import { ReactNode } from "react";
|
||
|
|
||
|
export interface PaperProps {
|
||
|
children?: ReactNode,
|
||
|
className?: string,
|
||
|
}
|
||
|
|
||
|
export function Paper(props: PaperProps) {
|
||
|
return (
|
||
|
<div className={`bg-denim-200 rounded-xl p-12 ${props.className}`}>
|
||
|
{props.children}
|
||
|
</div>
|
||
|
)
|
||
|
}
|