UNPKG

@wix/design-system

Version:

@wix/design-system

40 lines (37 loc) 1.23 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. - internal ### checked - type: boolean - description: Specifies whether a check is selected ### onChange - type: ChangeEventHandler - 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: "small" | "medium" - description: Controls the size of the component ### skin - type: "standard" | "success" - 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. ### onFocus - type: (event: FocusEvent, triggers: Triggers) => void - description: No description ### onBlur - type: (event: FocusEvent, triggers: Triggers) => void - description: No description ### ref - type: RefObject - description: No description