@wix/design-system
Version:
@wix/design-system
31 lines (27 loc) • 971 B
Markdown
### 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.
### onClick
- type: func
- description: Defines a callback handler. Handler is called whenever a button is clicked.
### iconSize
- type: enum
- description: Controls the size of a plus icon.
### disabled
- type: bool
- description: Specify whether button should be disabled or not
### fill
- type: string
- description: Defines button fill value in string format. Accepts HEX colors and gradients.
### tooltipContent
- type: node
- description: Specifies a message to display on button hover.
### tooltipProps
- type: shape
- description: Allows to pass tooltip common props.
### icon
- type: node
- description: Overrides a default plus icon to any WSR icon. Do not work together with `iconSize`. Icon size has to be controlled manually.