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

This commit is contained in:
Luca
2025-07-26 22:34:01 +10:00
committed by GitHub
parent fd8d65166b
commit 301ff2daf8
3 changed files with 3 additions and 1 deletions

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}