feat(custom-widgets): complete Custom JSX v2 (#6390)

This commit is contained in:
Thomas authored and ajnart committed 2026-08-13 19:48:57 +02:00
1 parent 3a1245cbc5
commit acdfcbb18e
416 files changed
+37853 -18066

No files matched your search

+7 -1
View File
@@ -85,7 +85,13 @@ export const ConfirmModal = createModal<Omit<ConfirmModalProps, "title">>(({ act
{cancelProps?.children ?? translateIfNecessary(t, cancelLabel)}
</Button>
<Button data-autofocus {...confirmProps} onClick={handleConfirm} color="red.9" loading={loading}>
<Button
data-autofocus
{...confirmProps}
onClick={handleConfirm}
color={confirmProps?.color ?? "red.9"}
loading={loading}
>
{confirmProps?.children ?? translateIfNecessary(t, confirmLabel)}
</Button>
</Group>