Add Color option for confirmation modal
This commit is contained in:
@@ -24,6 +24,7 @@ function ConfirmationModal({ config }) {
|
||||
}}
|
||||
fullWidth
|
||||
sx={{ mr: 1 }}
|
||||
color={config.color ? config.color : 'primary'}
|
||||
>
|
||||
{config?.confirmText}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user