UNPKG

@stihl-design-system/components

Version:

Welcome to the STIHL Design System react component library.

11 lines (10 loc) 748 B
import { TextUtilityProps } from './TextUtility'; export declare const TEXT_UTILITY_TAG: readonly ["address", "blockquote", "cite", "div", "dd", "dfn", "dt", "figcaption", "legend", "li", "p", "span", "time"]; export type TextUtilityTag = (typeof TEXT_UTILITY_TAG)[number]; export declare const TEXT_UTILITY_SIZE: readonly ["large", "medium", "small", "x-small"]; export type TextUtilitySize = (typeof TEXT_UTILITY_SIZE)[number]; export declare const TEXT_UTILITY_WEIGHT: readonly ["bold", "demi", "normal"]; export type TextUtilityWeight = (typeof TEXT_UTILITY_WEIGHT)[number]; type ValidationProps = Pick<TextUtilityProps, 'size' | 'weight'>; export declare const validateTextUtilityProps: ({ size, weight }: ValidationProps) => void; export {};