UNPKG

@wix/design-system

Version:

@wix/design-system

85 lines (81 loc) 2.16 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. ### light - type: boolean - description: Invert heading style so it can be used on a dark or image background. ### appearance - type: HeadingAppearance - description: this prop is deprecated and should not be used ### as - type: keyof HTMLElementTagNameMap - description: Renders the heading as any other given HTML tag ### size - type: Size - description: Controls the heading's visual size and HTML tag appearance. HTML tag can be overridden with ‘as’ prop. ### id - type: string - description: Identifies the element that labels or describes the text element ### children - type: React.ReactNode - description: Renders any kind of content within a heading. Usually it’s a text string. ### 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 - description: No description