Dialog that displays on top the page.
Dialog is built on top RadixUI Dialog component. All RadixUI props are passed, and can be used in the same way.
children
ReactNodeThe content of the Dialog
*Can't edit react node values here
open
booleanIcon shown before the content.
*Can't edit boolean values here
onOpenChange
functionIcon shown before the content.
*Can't edit function values here
<Dialog open={open} onOpenChange={onOpenChange}>
<Dialog.Content>
<Dialog.Title>{/* ... */}</Dialog.Title>
<Dialog.Description>{/* ... */}</Dialog.Description>
</Dialog.Content>
{/* (Full-width sections can go here) */}
</Dialog>