UNPKG

@spark-web/text

Version:

--- title: Text storybookPath: typography-text--default isExperimentalPackage: false ---

11 lines (10 loc) 711 B
export declare const TextContext: import("react").Context<{ size: NonNullable<import("@spark-web/theme/src/themes/_types/typography").TypographySizing>; tone: NonNullable<string | number>; weight: NonNullable<"bold" | "medium" | "light" | "thin" | "black" | "extralight" | "regular" | "semibold" | "extrabold" | undefined> | undefined; } | undefined>; export declare function useTextContext(): { size: NonNullable<import("@spark-web/theme/src/themes/_types/typography").TypographySizing>; tone: NonNullable<string | number>; weight: NonNullable<"bold" | "medium" | "light" | "thin" | "black" | "extralight" | "regular" | "semibold" | "extrabold" | undefined> | undefined; } | undefined;