UNPKG

@patreon/studio

Version:

Patreon Studio Design System

7 lines (6 loc) 1.16 kB
import React from 'react'; import type { LegacyStylableProps } from '~/types/component'; import type { HeadingTextProps } from './types'; export declare const HeadingText: ({ as, size, weight, color, align, ellipsis, className, style, children, id, "data-tag": dataTag, ...props }: HeadingTextProps) => React.JSX.Element; /** @deprecated use `HeadingText` with `className` and css modules instead. */ export declare const HeadingTextWithCss: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("../../types/text").TextElementProps & import("../../types/text").TextColorProps & import("../../types/text").TextLayoutProps & React.AriaAttributes & import("~/types/component").BaseProps & import("~/types/component").StylableProps & import("~/types/component").ChildrenProps & import("../../types/type-bundles").HeadingTextBundle, Omit<HeadingTextProps, "as"> & LegacyStylableProps>> & string & Omit<({ as, size, weight, color, align, ellipsis, className, style, children, id, "data-tag": dataTag, ...props }: HeadingTextProps) => React.JSX.Element, keyof React.Component<any, {}, any>>;