ToggleButton Pass Through

Pass Through documentation for ToggleButton component

Viewer#

Some sections may not be visible due to the availability of the particular feature.

ToggleButton PT Options#

Defines passthrough(pt) options of ToggleButton component.

labeltypedescription
rootToggleButtonPassThroughType<HTMLAttributes<HTMLDivElement>>Used to pass attributes to the root's DOM element.
indicatorToggleButtonPassThroughType<HTMLAttributes<HTMLSpanElement>>Used to pass attributes to the indicator's DOM element.

ToggleButtonIndicator PT Options#

Defines passthrough(pt) options of ToggleButtonIndicator component.

labeltypedescription
rootToggleButtonIndicatorPassThroughType<HTMLAttributes<HTMLDivElement>>Used to pass attributes to the root's DOM element.