UNPKG

@stihl-design-system/components

Version:

Welcome to the STIHL Design System react component library.

14 lines (13 loc) 649 B
import { TextareaProps } from './Textarea'; export declare const TEXTAREA_SIZE: readonly ["medium", "small"]; export type TextareaSize = (typeof TEXTAREA_SIZE)[number]; type ValidationProps = Pick<TextareaProps, 'id' | 'label'>; /** * Validates the given properties of the DSTextarea component for common configuration errors. * This function is intended to be used in development mode to provide developers with * warnings about potential misuse of the component. * * @param validationProps - The subset of DSTextarea properties to validate. */ export declare const validateTextareaProps: ({ id, label }: ValidationProps) => void; export {};