import { ComponentPropsWithoutRef , ReactNode } from 'react' ; import { classnames } from '../../helpers' ; interface Props extends ComponentPropsWithoutRef < 'footer' > { children ? : ReactNode ; isColumn ? : boolean ; } const Footer = ( { children , isColumn , className = classnames ( [ 'flex flex-nowrap' , isColumn ? 'flex-column' : 'flex-justify-space-between flex-align-items-center' , ] ) , ... rest } ) => { return ( < footer className = { classnames ( [ 'modal-footer' , className ] ) } { ... rest } > { children } < /footer>); } ; export default Footer ;