import clsx from "clsx" import Button, { ButtonProps } from "../../Button" type ModalFooterProps = { actions?: ButtonProps[] children?: React.ReactNode className?: string } const ModalFooter = ({ actions, children, className }: ModalFooterProps) => { return (
{actions?.map((action, index) => (
) } export default ModalFooter