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:
Cristhian Zanforlin Lousa 2024-12-16 10:13:50 -03:00 committed by GitHub
commit b50b6e2adb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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>