PresetSegmentItemOption

A premade custom option use for Segment component.

Example

Example usage

API

PresetSegmentItemOption
PropDescriptionTypeDefault
activeWhether this option is activeboolean-
customCheckDisplay a custom check when active is truestring | ReactNode-
defaultGutterWhether to use default spacerbooleantrue
disabledWhether to disabled this optionboolean-
hoverableWhether to disabled hover effectboolean-
onSegmentItemClickCallback when this option clicked() => void-