diff options
Diffstat (limited to 'FrontEnd/src/components/dialog/ConfirmDialog.tsx')
-rw-r--r-- | FrontEnd/src/components/dialog/ConfirmDialog.tsx | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/FrontEnd/src/components/dialog/ConfirmDialog.tsx b/FrontEnd/src/components/dialog/ConfirmDialog.tsx index 97cad452..8b0a4219 100644 --- a/FrontEnd/src/components/dialog/ConfirmDialog.tsx +++ b/FrontEnd/src/components/dialog/ConfirmDialog.tsx @@ -25,27 +25,24 @@ export default function ConfirmDialog({ <DialogContainer title={title} titleColor={color ?? "danger"} - buttons={[ + buttonsV2={[ { key: "cancel", type: "normal", - props: { - text: "operationDialog.cancel", - color: "secondary", - outline: true, - onClick: closeDialog, - }, + action: "minor", + + text: "operationDialog.cancel", + onClick: closeDialog, }, { key: "confirm", type: "normal", - props: { - text: "operationDialog.confirm", - color: "danger", - onClick: () => { - onConfirm(); - closeDialog(); - }, + action: "major", + text: "operationDialog.confirm", + color: "danger", + onClick: () => { + onConfirm(); + closeDialog(); }, }, ]} |