UNPKG

@neynar/ui

Version:

React UI component library built on shadcn/ui and Tailwind CSS

40 lines (30 loc) 820 B
# DialogHeader **Type**: component DialogHeader - Container for dialog title and description Groups the dialog's title and description at the top of the dialog content. Provides consistent spacing and alignment for header elements. ## JSX Usage ```jsx import { DialogHeader } from '@neynar/ui'; <DialogHeader className="value" > {/* Your content here */} </DialogHeader> ``` ## Component Props ### className - **Type**: `string` - **Required**: No - **Description**: No description available ### children - **Type**: `React.ReactNode` - **Required**: No - **Description**: No description available ## Examples ```tsx <DialogHeader> <DialogTitle>Edit profile</DialogTitle> <DialogDescription> Make changes to your profile here. Click save when you're done. </DialogDescription> </DialogHeader> ```