UNPKG

@patreon/studio

Version:

Patreon Studio Design System

7 lines (6 loc) 852 B
import React from 'react'; import type { LegacyStylableProps } from '~/types/component'; import type { DataTextProps } from './types'; export declare const DataText: ({ as, variant, size, weight, color, align, ellipsis, className, style, children, id, "data-tag": dataTag, ...props }: DataTextProps) => React.JSX.Element; /** @deprecated use `DataText` with `className` and css modules instead. */ export declare const DataTextWithCss: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<DataTextProps & import("styled-components/dist/types").BaseObject, LegacyStylableProps>> & string & Omit<({ as, variant, size, weight, color, align, ellipsis, className, style, children, id, "data-tag": dataTag, ...props }: DataTextProps) => React.JSX.Element, keyof React.Component<any, {}, any>>;