Toast Pass Through
Pass Through documentation for Toast component
Viewer#
Some sections may not be visible due to the availability of the particular feature.
The component's PT demo referenced as toast-pt is unavailable or does not exist.
ToastRoot PT Options#
Defines passthrough(pt) options of Toast component.
| label | type | description |
|---|---|---|
| root | ToastRootPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the root's DOM element. |
ToastRegion PT Options#
Defines passthrough(pt) options of ToastRegion component.
| label | type | description |
|---|---|---|
| root | ToastRegionPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the root's DOM element. |
ToastItem PT Options#
Defines passthrough(pt) options of ToastItem component.
| label | type | description |
|---|---|---|
| root | ToastItemPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the root's DOM element. |
ToastTitle PT Options#
Defines passthrough(pt) options of ToastTitle component.
| label | type | description |
|---|---|---|
| root | ToastTitlePassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the root's DOM element. |
ToastDescription PT Options#
Defines passthrough(pt) options of ToastDescription component.
| label | type | description |
|---|---|---|
| root | ToastDescriptionPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the root's DOM element. |
ToastIcon PT Options#
Defines passthrough(pt) options of ToastIcon component.
| label | type | description |
|---|---|---|
| root | ToastIconPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the root's DOM element. |
ToastAction PT Options#
Defines passthrough(pt) options of ToastAction component.
| label | type | description |
|---|---|---|
| root | ToastActionPassThroughType<ButtonHTMLAttributes<HTMLButtonElement>> | Used to pass attributes to the root's DOM element. |
ToastClose PT Options#
Defines passthrough(pt) options of ToastClose component.
| label | type | description |
|---|---|---|
| root | ToastClosePassThroughType<ButtonHTMLAttributes<HTMLButtonElement>> | Used to pass attributes to the root's DOM element. |