DialogHeader
Loading example…
Title above description at every width; pass flex-row items-center in className for a side-by-side layout.
Import
Section titled “Import”import { DialogHeader } from "@jcsoftdev/ui/overlays";Single-component entry points tree-shake to just this component: @jcsoftdev/ui/overlays/dialog.
export const Default: Story = { render: (args) => ( <Dialog> <DialogTrigger asChild> <Button variant="danger">Anular cita</Button> </DialogTrigger> <DialogContent {...args}> <CancelBody /> </DialogContent> </Dialog> ),};Source of the Storybook story.
This component declares no props of its own.
It also accepts the native props of the element or primitive it renders (for example className, id, aria-* and event handlers).
Storybook stories
Section titled “Storybook stories”- Default
- Open By Default
- Close Hit Area
- Large
- Blocking
- Controlled
- In Scoped Container
- In Scoped Preset
Source
Section titled “Source”packages/ui/src/overlays/dialog/dialog.tsx