import { ModalRoot, ModalContent, ModalOverlay, } from '../elements/ModalPrimitives' import { VStack, HStack } from '../elements/LayoutPrimitives' import { Button } from '../elements/Button' import { StyledText } from '../elements/StyledText' type ConfirmationModalProps = { message?: string richMessage?: React.ReactNode icon?: React.ReactNode acceptButtonLabel?: string cancelButtonLabel?: string onAccept: () => void onOpenChange: (open: boolean) => void } export function ConfirmationModal(props: ConfirmationModalProps): JSX.Element { return ( {props.icon ? props.icon : null} {props.richMessage ? ( props.richMessage ) : ( {props.message} )} ) }