import { JSX } from 'react'; import { defaultTheme } from '../../themes'; import Box from '../Box'; import Button from '../Button'; import Text from '../Text'; import { Wrapper } from './styles'; export type ModalProps = { color: 'primary' | 'secondary' | 'tertiary'; title: string; description: string; children?: React.ReactNode | JSX.Element | string; onConfirm: () => void; onClose: () => void; }; const Modal = ({ color, title, description, children, onConfirm, onClose, }: ModalProps) => { return ( {title} {description} {children}