Pass Through documentation for Drawer component
Some sections may not be visible due to the availability of the particular feature.
Defines passthrough(pt) options of Drawer component.
| label | type | description |
|---|---|---|
| root | DrawerPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the root's DOM element. |
| mask | DrawerPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the mask's DOM element. |
| trigger | DrawerPassThroughType<HTMLAttributes<HTMLButtonElement>> | Used to pass attributes to the trigger's DOM element. |
| triggerIcon | DrawerPassThroughType<HTMLAttributes<HTMLElement>> | Used to pass attributes to the trigger icon's DOM element. |
| portal | DrawerPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the portal's DOM element. |
| header | DrawerPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the header's DOM element. |
| title | DrawerPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the title's DOM element. |
| close | DrawerPassThroughType<HTMLAttributes<HTMLButtonElement>> | Used to pass attributes to the close's DOM element. |
| closeIcon | DrawerPassThroughType<HTMLAttributes<HTMLElement>> | Used to pass attributes to the close icon's DOM element. |
| content | DrawerPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the content's DOM element. |
| footer | DrawerPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the footer's DOM element. |
Defines passthrough(pt) options of DrawerTrigger component.
| label | type | description |
|---|---|---|
| root | DrawerTriggerPassThroughType<HTMLAttributes<HTMLButtonElement>> | Used to pass attributes to the root's DOM element. |
Defines passthrough(pt) options of DrawerPortal component.
| label | type | description |
|---|---|---|
| root | DrawerPortalPassThroughType<HTMLAttributes<HTMLButtonElement>> | Used to pass attributes to the root's DOM element. |
Defines passthrough(pt) options of DrawerHeader component.
| label | type | description |
|---|---|---|
| root | DrawerHeaderPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the root's DOM element. |
Defines passthrough(pt) options of DrawerTitle component.
| label | type | description |
|---|---|---|
| root | DrawerTitlePassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the root's DOM element. |
Defines passthrough(pt) options of DrawerClose component.
| label | type | description |
|---|---|---|
| root | DrawerClosePassThroughType<HTMLAttributes<HTMLButtonElement>> | Used to pass attributes to the root's DOM element. |
Defines passthrough(pt) options of DrawerContent component.
| label | type | description |
|---|---|---|
| root | DrawerContentPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the root's DOM element. |
Defines passthrough(pt) options of DrawerFooter component.
| label | type | description |
|---|---|---|
| root | DrawerFooterPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the root's DOM element. |