Components
AbbreviateNumberActionLinkAdaptiveCardAffixAuthorityCheckCalendarViewChartConfirmDialogContainerCustomFormatInputDataTableDebounceInputDoubleSidedImageEllipsisButtonGanttChartGrowShrinkValueIconTextImageGalleryLoadingMasonryMediaSkeletonNavToggleNumericInputOtpInputPasswordInputPatternInputRegionMapRichTextEditorSegmentItemOptionStickyFooterSyntaxHighlighterUsersAvatarGroup
PresetSegmentItemOption
A premade custom option use for Segment component.
Example
Example usage
Developer
Manager
Designer
API
PresetSegmentItemOption
| Prop | Description | Type | Default |
|---|---|---|---|
| active | Whether this option is active | boolean | - |
| customCheck | Display a custom check when active is true | string | ReactNode | - |
| defaultGutter | Whether to use default spacer | boolean | true |
| disabled | Whether to disabled this option | boolean | - |
| hoverable | Whether to disabled hover effect | boolean | - |
| onSegmentItemClick | Callback when this option clicked | () => void | - |