Sheet
The Sheet component is used to show information.
1. Import
KUMUI exports 6 Sheet-related components:
import { Sheet, SheetTrigger, SheetContent,SheetDescription, SheetHeader, SheetTitle } from "@rohitgadekar/kimui";
2. Usage
3. API
3.1 Sheet
| Attribute | Type | Description | Default |
|---|---|---|---|
| children | React.ReactNode | Wraps the trigger button and content of the sheet. | - |
3.2 SheetTrigger
| Attribute | Type | Description | Default |
|---|---|---|---|
| children | React.ReactNode | The element that triggers the opening of the sheet. | - |
3.3 SheetContent
| Attribute | Type | Description | Default |
|---|---|---|---|
| children | React.ReactNode | Contains the content of the sheet. | - |
3.4 SheetDescription
| Attribute | Type | Description | Default |
|---|---|---|---|
| children | React.ReactNode | Text or content providing more context for the sheet's title. | - |
3.5 SheetHeader
| Attribute | Type | Description | Default |
|---|---|---|---|
| children | React.ReactNode | Contains the title and description of the sheet. | - |
3.6 SheetTitle
| Attribute | Type | Description | Default |
|---|---|---|---|
| children | React.ReactNode | Provides the title for the sheet. | - |