mirror of
https://bitbucket.org/Mattrixwv/mattrixwvreactcomponents.git
synced 2025-12-07 14:13:58 -05:00
23 lines
358 B
TypeScript
23 lines
358 B
TypeScript
import type { ModalBodyProps } from "$/types/ModalTypes";
|
|
import clsx from "clsx";
|
|
|
|
|
|
export default function ModalBody(props: ModalBodyProps){
|
|
const {
|
|
className,
|
|
children
|
|
} = props;
|
|
|
|
|
|
return (
|
|
<div
|
|
className={clsx(
|
|
"flex flex-col items-center justify-start h-full w-full overflow-scroll",
|
|
className
|
|
)}
|
|
>
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|