UNPKG

@wix/design-system

Version:

@wix/design-system

40 lines (36 loc) 1.24 kB
### dataHook - type: string - description: Applies a data-hook HTML attribute that can be used in the tests. ### className - type: string - description: Specifies a CSS class name to be appended to the component’s root element. ### checked - type: boolean - description: Specifies whether a check is selected ### onChange - type: ChangeEventHandler<HTMLInputElement> - description: Defines a callback function which is called every time the check value is changed ### disabled - type: boolean - description: Specifies whether toggle interactions should be disabled ### size - type: CheckToggleSize - description: Controls the size of the component ### skin - type: CheckToggleSkin - description: Controls the skin of the component ### tooltipContent - type: ReactNode - description: Defines a message to be displayed in a tooltip. Tooltip is displayed on component hover. ### tooltipProps - type: TooltipCommonProps - description: Allows to pass all common tooltip props. ### focusableOnFocus - type: React.FocusEventHandler<E> - description: No description ### focusableOnBlur - type: React.FocusEventHandler<E> - description: No description ### ref - type: React.RefObject<E> - description: No description