fix: enhance confirmation modal with new UI properties (#5283)
✨ (nodeToolbarComponent/index.tsx): add new props 'cancelText', 'confirmationText', 'size', 'icon', and 'index' to enhance customization and functionality of the NodeToolbarComponent
This commit is contained in:
parent
d147a73c43
commit
b50b6e2adb
1 changed files with 5 additions and 0 deletions
|
|
@ -780,6 +780,11 @@ export default function NodeToolbarComponent({
|
|||
onConfirm={handleConfirm}
|
||||
onClose={handleClose}
|
||||
onCancel={handleCancel}
|
||||
cancelText="Create New"
|
||||
confirmationText="Replace"
|
||||
size={"x-small"}
|
||||
icon={"SaveAll"}
|
||||
index={6}
|
||||
>
|
||||
<ConfirmationModal.Content>
|
||||
<span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue