@wix/design-system
Version:
@wix/design-system
112 lines (108 loc) • 3.53 kB
Markdown
### 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
### appendTo
- type: AppendTo
- description: No description
### disabled
- type: boolean
- description: No description
### enterDelay
- type: number
- description: No description
### exitDelay
- type: number
- description: No description
### fixed
- type: boolean
- description: No description
### flip
- type: boolean
- description: No description
### maxWidth
- type: React.CSSProperties
- description: No description
### moveBy
- type: Partial<{ x: number; y: number; }>
- description: No description
### moveArrowTo
- type: number
- description: No description
### onHide
- type: () => void
- description: No description
### onShow
- type: () => void
- description: No description
### placement
- type: Placement
- description: No description
### textAlign
- type: TooltipTextAlign
- description: No description
### zIndex
- type: React.CSSProperties
- description: No description
### interactive
- type: boolean
- description: No description
### ellipsis
- type: boolean
- description: No description
### showTooltip
- type: boolean
- description: No description
### maxLines
- type: number
- description: No description
### onEllipsisStateChange
- type: ((isActive: boolean) => void) & ((isActive: boolean) => void)
- description: A callback fired when ellipsis state changes.
### dataHook
- type: string
- description: Applies a data-hook HTML attribute that can be used in the tests.
### tagName
- type: "object" | "span" | "a" | "label" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | ... 93 more ... | (string & ComponentType<...>)
- description: Defines a tag name that text should be rendered inside of (e.g., div, a, p).
### size
- type: TextSize
- description: Controls the font size of the text.
### secondary
- type: boolean
- description: Sets text type to secondary. Affects font color only.
### skin
- type: TextSkin
- description: Controls the skin of the text.
### light
- type: boolean
- description: Inverts text color so it can be used on dark backgrounds.
### weight
- type: TextWeight
- description: Controls the font weight of the text.
### listStyle
- type: ListStyle
- description: Sets list items style.
### tooltipProps
- type: TooltipCommonProps
- description: Allows to pass all common tooltip props.
### widows
- type: boolean
- description: if true it will support widows in the text
### suffix
- type: ReactNode
- description: Component displayed at the end of text, after ellipsis if truncated.
### overflowWrap
- type: OverflowWrap
- description: Sets "overflow-wrap" CSS property. Controls how text will behave upon overflowing parent component
### AnchorHTMLAttributes
- type: All props from AnchorHTMLAttributes that comes from @types/react/index.d.ts
- description: No description
### LabelHTMLAttributes
- type: All props from LabelHTMLAttributes that comes from @types/react/index.d.ts
- description: No description