CommandDialog
CommandDialog(
__namedParameters):Element
Modal dialog wrapper with custom styling
Based on Command
Parameters
__namedParameters
CommandDialogProps
Returns
Element
Example
function MyComponent() {
const [open, setOpen] = useState(false);
return (
<CommandDialog open={open} onOpenChange={setOpen}>
...
</CommandDialog>
);
}