@wix/design-system
Version:
@wix/design-system
67 lines (63 loc) • 1.96 kB
Markdown
### children
- type: any
- description: any renderable node or a render function. In case of a render function, text styles will not be applied.
### disabled
- type: boolean
- description: apply disabled styles
### skin
- type: AddItemSkin
- description: the theme of component
### theme
- type: AddItemSkin
- description: No description
### alignItems
- type: AddItemAlignItems
- description: switching content alignment
### size
- type: AddItemSize
- description: size to control icon and spacing
### onClick
- type: React.MouseEventHandler<HTMLButtonElement>
- description: click event handler
### dataHook
- type: string
- description: Applied as data-hook HTML attribute that can be used to create driver in testing
### className
- type: string
- description: Specifies a CSS class name to be appended to the component’s root element.
### tooltipContent
- type: React.ReactNode
- description: When provided, hover will display a tooltip
### tooltipProps
- type: TooltipCommonProps
- description: Tooltip props
### showIcon
- type: boolean
- description: Displays the plus icon
### removePadding
- type: boolean
- description: Removes padding
### borderRadius
- type: React.CSSProperties
- description: sets the border-radius css property on the button element
### ariaLabel
- type: string
- description: Defines a string value that labels the add item element
### ariaLabelledBy
- type: string
- description: Subtitle of the component
### ariaDescribedBy
- type: string
- description: Defines a string value that describes the add item element
### subtitle
- type: React.ReactNode
- description: Subtitle of the component
### icon
- type: React.ReactNode
- description: The illustration icon src or node
### RefAttributes
- type: All props from RefAttributes that comes from @types/react/index.d.ts
- description: No description
### Attributes
- type: All props from Attributes that comes from @types/react/index.d.ts
- description: No description