UNPKG

@wix/design-system

Version:

@wix/design-system

31 lines (27 loc) 956 B
### dataHook - type: string - description: Applies a data-hook HTML attribute that can be used in the tests ### defaultSelected - type: node - description: Specifies the initially selected option ### selected - type: node - description: Specifies whether an option is selected ### size - type: enum - description: Controls the size of the segmented toggle ### onClick - type: func - description: Defines a callback function which is called every time option is clicked. Returns a selected element and its value. ### disabled - type: bool - description: Specifies whether interactions are disabled. ### children - type: array - description: Accepts <SegmentedToggle.Icon/> or <SegmentedToggle.Button/> as child items to list down available options ### ariaLabel - type: string - description: Accessible label for the segmented toggle group ### ariaLabelledby - type: string - description: ID of element that labels the segmented toggle group