Add Color option for confirmation modal
This commit is contained in:
parent
755187151b
commit
6c1df9cb36
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ function ConfirmationModal({ config }) {
|
|||
}}
|
||||
fullWidth
|
||||
sx={{ mr: 1 }}
|
||||
color={config.color ? config.color : 'primary'}
|
||||
>
|
||||
{config?.confirmText}
|
||||
</Button>
|
||||
|
|
Loading…
Add table
Reference in a new issue