Skip to main content

Modal

Modal(props: ): ReactElement<WithOptionalTheme<
Modal<AsC,FAsC>(props: StyledComponentPropsWithAs<AsC, any, , never, AsC, FAsC>): ReactElement<StyledComponentPropsWithAs<AsC, any, , never, AsC, FAsC>, string | JSXElementConstructor<any>>

Parameters

(Mandatory parameters are in bold)
ParametersTypeDescription
props
animationDurationnumber
animationDurationnumber
animationDurationnumber
animationDurationnumber
asundefined
asundefined
attachToBodyboolean
attachToBodyboolean
attachToBodyboolean
attachToBodyboolean
buttons
buttons
buttons
buttons
childrenReactNode
childrenReactNode
childrenReactNode
childrenReactNode
classNamestring
classNamestring
classNamestring
classNamestring
closeIconboolean
closeIconboolean
closeIconboolean
closeIconboolean
closeOnClickOutsideboolean
closeOnClickOutsideboolean
closeOnClickOutsideboolean
closeOnClickOutsideboolean
closeOnEscapeboolean
closeOnEscapeboolean
closeOnEscapeboolean
closeOnEscapeboolean
forwardedAsundefined
forwardedAsundefined
heightstring | 0 | 2 | 1 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64
heightstring | 0 | 2 | 1 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64
heightstring | 0 | 2 | 1 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64
heightstring | 0 | 2 | 1 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64
onClose
onClose
onClose
onClose
onClosed
onClosed
onClosed
onClosed
openboolean
openboolean
openboolean
openboolean
sizeTshirtSize
sizeTshirtSize
sizeTshirtSize
sizeTshirtSize
themeany
themeany
titleReactNode
titleReactNode
titleReactNode
titleReactNode
widthstring | 0 | 2 | 1 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64
widthstring | 0 | 2 | 1 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64Partial<>, any>, string | JSXElementConstructor<any>>
widthstring | 0 | 2 | 1 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64
widthstring | 0 | 2 | 1 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64Partial<>, any>, string | JSXElementConstructor<any>>

Return

The return is of type ReactElement<WithOptionalTheme<