Skip to main content

Dialog

Import

import { Dialog, DialogTitle, DialogDescription, DialogClose, DialogTrigger, DialogContent } from "@sparrowengg/twigs-react";

Usage

Result
Loading...
Live Editor

Props

Dialog

PropertyDescriptionTypeDefault
defaultOpenuncontrolled open statebooleanfalse
opencontroller open stateboolean
onOpenChangecallback function for state changes
sizesize of the dialogsm md lg xl fullmd
scrollBehaviorcontrol scroll behaviorauto scroll hiddenauto