feat(interface/input): add size to input dialog options (#32)

This commit is contained in:
Luca authored and GitHub committed 2025-07-26 14:34:01 +02:00
1 parent fd8d65166b
commit 301ff2daf8
3 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -103,7 +103,7 @@ const InputDialog: React.FC = () => {
centered
closeOnEscape={fields.options?.allowCancel !== false}
closeOnClickOutside={false}
size="xs"
size={fields.options?.size || 'xs'}
styles={{ title: { textAlign: 'center', width: '100%', fontSize: 18 } }}
title={fields.heading}
withCloseButton={false}