UNPKG

@patreon/studio

Version:

Patreon Studio Design System

7 lines (6 loc) 1.13 kB
import React from 'react'; import type { LegacyStylableProps } from '~/types/component'; import type { BodyTextProps } from './types'; export declare const BodyText: ({ as, size, weight, color, align, ellipsis, className, style, children, id, "data-tag": dataTag, ...props }: BodyTextProps) => React.JSX.Element; /** @deprecated use `BodyText` with `className` and css modules instead. */ export declare const BodyTextWithCss: 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").BodyTextBundle, Omit<BodyTextProps, "as"> & LegacyStylableProps>> & string & Omit<({ as, size, weight, color, align, ellipsis, className, style, children, id, "data-tag": dataTag, ...props }: BodyTextProps) => React.JSX.Element, keyof React.Component<any, {}, any>>;