Dialog
A window overlaid on either the primary window or another dialog window, rendering the content underneath inert.
Preview
This is a sample text in dialog.
API Reference
prop | type | default | description |
---|---|---|---|
package | typing.Literal['flect'] | flect | None |
class_name | typing.Optional[str] | None | Specifies the Tailwind CSS classes for the component. |
children | flect.components.AnyComponents | [] | The children of the component. |
title | <class 'str'> | None | Specifies the dialog's title. |
description | typing.Optional[str] | None | Specifies the dialog's description. |
default_open | <class 'bool'> | False | Specifies whether the dialog is open by default. |
trigger | typing.Optional[flect.actions.DispatchEvent] | None | Specifies the event that triggers the dialog. |