Add Color option for confirmation modal

This commit is contained in:
Mo Tarbin 2024-11-28 21:15:47 -05:00
parent 755187151b
commit 6c1df9cb36

View file

@ -24,6 +24,7 @@ function ConfirmationModal({ config }) {
}}
fullWidth
sx={{ mr: 1 }}
color={config.color ? config.color : 'primary'}
>
{config?.confirmText}
</Button>