import { FunctionComponent } from 'react' type Props = { className?: string } const ModalDialogButtons: FunctionComponent = ({ children, className }) => ( <>
{children != undefined && Array.isArray(children) ? children.map((child, idx, arr) => ( <> {child} {idx < arr.length - 1 ?
: undefined} )) : children}
) export default ModalDialogButtons