import React, { type ReactNode, type HTMLAttributes } from 'react' export interface ModalFooterProps extends HTMLAttributes { /** * Children or function as a children */ children: ReactNode /** * Layout direction. Default is `horizontal`. */ direction?: 'horizontal' | 'vertical' /** * Allows wrapping. Default is `true` */ wrap?: boolean } const ModalFooter = ({ children, direction = 'horizontal', wrap = true, ...otherProps }: ModalFooterProps) => (
{children}
) export default ModalFooter