import * as React from 'react'; import classnames from 'classnames'; import Text from '../text/Text'; import Flex from '../flex/Flex'; type TextareaSizeType = 'short' | 'normal' | 'tall' | 'xtall'; type TextareaColorType = 'default' | 'white'; export const SIZE = { SHORT: 'short', NORMAL: 'normal', TALL: 'tall', XTALL: 'xtall', } as const; export const TEXTAREA_COLOR = { DEFAULT: 'default', WHITE: 'white', } as const; export type TextareaPropsType = { as?: string | ((arg0: any) => React.ReactNode); /** * Additional function to set ref for textarea */ textareaRef?: (ref: HTMLElement | null | undefined) => unknown; /** * Optional specification for input value * @example