A component that renders stateful Bootstrap Toggle Buttons using OverReact’s statically-typed React prop and state API.
No jQuery Here: The stateful behavior of the ToggleButton
/
ToggleButtonGroup
components demonstrated below is built using nothing but
OverReact's UiStatefulComponent
.
None of the Bootstrap jQuery "button" plugin pieces are used here.
Set props.toggleType
to ToggleBehaviorType.CHECKBOX
on a ToggleButtonGroup
component with child ToggleButton
s for a "multi-select" toggle behavior.
Set props.toggleType
to ToggleBehaviorType.RADIO
on a ToggleButtonGroup
component with child ToggleButton
s for a "single-select" toggle behavior.