@wix/design-system
Version:
@wix/design-system
58 lines (54 loc) • 2.16 kB
Markdown
### ButtonHTMLAttributes
- type: All props from ButtonHTMLAttributes that comes from @types/react/index.d.ts
- description: No description
### HTMLAttributes
- type: All props from HTMLAttributes that comes from @types/react/index.d.ts
- description: No description
### AriaAttributes
- type: All props from AriaAttributes that comes from @types/react/index.d.ts
- description: No description
### DOMAttributes
- type: All props from DOMAttributes that comes from @types/react/index.d.ts
- description: No description
### skin
- type: ToggleButtonSkin
- description: Button skins.
### size
- type: "tiny" | "small" | "medium" | "large"
- description: Button size.
### selected
- type: boolean
- description: Applies selected styles.
### interactive
- type: boolean
- description: Enables pointer events of a selected button.
### dataHook
- type: string
- description: String based data hook.
### labelValue
- type: ReactNode
- description: Label content.
### labelPlacement
- type: "tooltip" | "bottom" | "end" | "start"
- description: Label placement.
### labelEllipsis
- type: boolean
- description: Whether label should have ellipsis.
### tooltipProps
- type: TooltipCommonProps
- description: Tooltip props for label. Applied only when `labelPlacement` is `tooltip`.
### border
- type: boolean
- description: Applies border.
### shape
- type: "square" | "round" | "pill"
- description: Button shape.
### tooltipDisabled
- type: boolean
- description: No description
### as
- type: "object" | "small" | "form" | "slot" | "style" | "title" | "button" | "search" | "article" | "dialog" | "figure" | "img" | "link" | "main" | "menu" | "option" | "table" | "time" | ... 94 more ... | ComponentType<...>
- description: Renders component as any other component or a given HTML tag.
### AnchorHTMLAttributes
- type: All props from AnchorHTMLAttributes that comes from @types/react/index.d.ts
- description: No description