mirror of
https://github.com/movie-web/movie-web.git
synced 2025-01-13 13:39:07 +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>
|
|
)
|
|
}
|