Home > @uniformdev/mesh-sdk > DialogOptions
DialogOptions interface
Signature:
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
(Optional) Allows you to specify the height of the dialog content upon open. Note: the dialog itself will always be full height to match the Uniform dashboard UI. However, the content container within the dialog is, by default, auto-sized to the calculated height of the rendered content of the dialog. Setting the | |||
|
boolean |
(Optional) By default, dialogs will be closed when they set a value. You can disable this behavior by setting the | ||
|
'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | 'full' | ArbitraryMaxWidth |
(Optional) Options for setting the max width of the dialog. Custom string can be used for specific custom width .e.g "clamp(300px, 50%, 600px)" | ||
|
TDialogParams |
(Optional) Parameters to pass to the dialog, which will be available in the dialog via the Best practice is to keep size of the params as small as possible. | ||
|
DialogSizes |
(Optional) Options for setting the width of the dialog. |