UNPKG

@spaced-out/ui-design-system

Version:
48 lines 3.08 kB
import * as React from 'react'; import type { Flow } from 'flow-to-typescript-codemod'; import type { ColorTypes } from '../../types/typography'; export interface TextProps { color?: ColorTypes; children?: React.ReactNode; className?: string; highlightedTextClassName?: string; highlightString?: string | string[]; caseSensitiveHighlighting?: boolean; highlightWithBackground?: boolean; testId?: string; } export interface HighlightTextProps { text: string; highlight: string | string[]; highlightClassName?: string; caseSensitiveHighlighting?: boolean; highlightWithBackground?: boolean; testId?: string; } export declare const JumboLarge: Flow.AbstractComponent<TextProps, HTMLSpanElement>; export declare const JumboMedium: Flow.AbstractComponent<TextProps, HTMLSpanElement>; export declare const JumboSmall: Flow.AbstractComponent<TextProps, HTMLSpanElement>; export declare const TitleMedium: Flow.AbstractComponent<TextProps, HTMLHeadingElement>; export declare const SubTitleLarge: Flow.AbstractComponent<TextProps, HTMLHeadingElement>; export declare const SubTitleMedium: Flow.AbstractComponent<TextProps, HTMLHeadingElement>; export declare const SubTitleSmall: Flow.AbstractComponent<TextProps, HTMLHeadingElement>; export declare const SubTitleExtraSmall: Flow.AbstractComponent<TextProps, HTMLHeadingElement>; export declare const ButtonTextMedium: Flow.AbstractComponent<TextProps, HTMLSpanElement>; export declare const ButtonTextSmall: Flow.AbstractComponent<TextProps, HTMLSpanElement>; export declare const MenuTextMedium: Flow.AbstractComponent<TextProps, HTMLSpanElement>; export declare const MenuTextSmall: Flow.AbstractComponent<TextProps, HTMLSpanElement>; export declare const ButtonTextExtraSmall: Flow.AbstractComponent<TextProps, HTMLSpanElement>; export declare const ButtonTextMediumUnderline: Flow.AbstractComponent<TextProps, HTMLSpanElement>; export declare const ButtonTextSmallUnderline: Flow.AbstractComponent<TextProps, HTMLSpanElement>; export declare const ButtonTextExtraSmallUnderline: Flow.AbstractComponent<TextProps, HTMLSpanElement>; export declare const FormInputMedium: Flow.AbstractComponent<TextProps, HTMLParagraphElement>; export declare const FormInputSmall: Flow.AbstractComponent<TextProps, HTMLParagraphElement>; export declare const BodyLarge: Flow.AbstractComponent<TextProps, HTMLParagraphElement>; export declare const BodyMedium: Flow.AbstractComponent<TextProps, HTMLParagraphElement>; export declare const BodySmall: Flow.AbstractComponent<TextProps, HTMLParagraphElement>; export declare const BodyLargeBold: Flow.AbstractComponent<TextProps, HTMLParagraphElement>; export declare const BodyMediumBold: Flow.AbstractComponent<TextProps, HTMLParagraphElement>; export declare const BodySmallBold: Flow.AbstractComponent<TextProps, HTMLParagraphElement>; export declare const FormLabelMedium: Flow.AbstractComponent<TextProps, HTMLSpanElement>; export declare const FormLabelSmall: Flow.AbstractComponent<TextProps, HTMLSpanElement>; //# sourceMappingURL=Text.d.ts.map