22 lines
366 B
TypeScript
22 lines
366 B
TypeScript
import type { ModalBodyProps } from "$/types/ModalTypes";
|
|
import clsx from "clsx";
|
|
|
|
|
|
export default function ModalBody({
|
|
className,
|
|
children,
|
|
...props
|
|
}: Readonly<ModalBodyProps>){
|
|
return (
|
|
<div
|
|
className={clsx(
|
|
"flex flex-col items-center justify-start h-full w-full overflow-scroll",
|
|
className
|
|
)}
|
|
{...props}
|
|
>
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|