Home > @uniformdev/mesh-sdk > DialogOptions > maxWidth

DialogOptions.maxWidth property

Warning: This API is now obsolete.

Use width instead. This property will become ignored in a future release.

Options for setting the max width of the dialog.

Custom string can be used for specific custom width .e.g "clamp(300px, 50%, 600px)"

Signature:

maxWidth?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | 'full' | ArbitraryMaxWidth;