@patreon/studio
Version:
Patreon Studio Design System
7 lines (6 loc) • 674 B
TypeScript
import React from 'react';
import type { LegacyStylableProps } from '../../types/component';
import type { DisplayTextProps } from './types';
export declare const DisplayText: ({ as, size, weight, color, align, ellipsis, className, style, children, id, "data-tag": dataTag, ...props }: DisplayTextProps) => React.JSX.Element;
/** @deprecated use `DisplayText` with `className` and css modules instead. */
export declare const DisplayTextWithCss: import("styled-components").StyledComponent<({ as, size, weight, color, align, ellipsis, className, style, children, id, "data-tag": dataTag, ...props }: DisplayTextProps) => React.JSX.Element, any, LegacyStylableProps, never>;