Component docs
Loading
"use client";
import { DialogDescription } from "@pixxl-tools/components";| Prop | Type | Default | Description |
|---|---|---|---|
children | Renderable | — | Rendered content. |
...props | HTMLAttributes | — | Native DOM props. |
childrenRenderable
Rendered content.
...propsHTMLAttributes
Native DOM props.
Other props are passed to the root element (HTMLAttributes<HTMLDivElement>), including className, style, id and aria-* attributes.
<Dialog trigger={<Button>Rename</Button>}>
<DialogTitle>Rename file</DialogTitle>
<DialogDescription>The new name applies everywhere.</DialogDescription>
</Dialog>