UNPKG

@patreon/studio

Version:

Patreon Studio Design System

14 lines (13 loc) 583 B
import type { ComponentTextProps } from '../../types/text'; import type { DataBodyTextBundle, DataHeadingTextBundle, DataDisplayTextBundle } from '../../types/type-bundles'; declare type BodyTextProps = { variant: 'body'; } & ComponentTextProps & DataBodyTextBundle; declare type HeadingTextProps = { variant: 'heading'; } & ComponentTextProps & DataHeadingTextBundle; declare type DisplayTextProps = { variant: 'display'; } & ComponentTextProps & DataDisplayTextBundle; export declare type DataTextProps = BodyTextProps | HeadingTextProps | DisplayTextProps; export {};