import classNames from 'classnames'; import { polymorphicForwardRef } from '@/types/polymorphic'; interface ModalShellProps { className?: string; children?: React.ReactNode; } export const ModalShell = polymorphicForwardRef<'form', ModalShellProps>( ({ as: Comp = 'form', children, className, ...restProps }, ref) => ( {children} ), ); ModalShell.displayName = 'ModalShell'; export const ModalShellBody: React.FC = ({ children, className, }) => { return (
{children}
); }; export const ModalShellActions: React.FC = ({ children, className, }) => { return (
{children}
); };