diff --git a/components/Alert/index.tsx b/components/Alert/index.tsx index 21a1a1a7..4f4b9717 100644 --- a/components/Alert/index.tsx +++ b/components/Alert/index.tsx @@ -3,12 +3,13 @@ import * as AlertDialog from '@radix-ui/react-alert-dialog' import './index.scss' import Button from '~components/Button' +import Overlay from '~components/Overlay' // Props interface Props { open: boolean title?: string - message: string + message: string | React.ReactNode primaryAction?: () => void primaryActionText?: string cancelAction: () => void @@ -34,8 +35,11 @@ const Alert = (props: Props) => { /> {props.primaryAction ? ( - - {props.primaryActionText} + +