UNPKG

legion-vue-core

Version:

53 lines (51 loc) 1.08 kB
import { SIZE, STATUS } from '../../utilities/constant'; export interface ContainerProps { /** * Sets the block state of the component */ block?: boolean; } export interface SizeProps { /** * Sets the size of the component */ size?: SIZE; } export interface StatusProps { /** * Sets the status of the component */ status?: STATUS; } export interface FieldProps extends SizeProps, StatusProps { /** * Sets the variant of the component */ variant?: 'outline' | 'inline'; } export interface TextareaProps extends ContainerProps, FieldProps { /** * Sets the caption of the component */ caption?: any; /** * Sets the disabled state of the component */ disabled?: boolean; /** * Sets the hint of the component */ hint?: any; /** * Sets the id of the component */ id?: string; /** * Sets the label of the component */ label?: string; /** * Sets the name input textarea of the component */ name?: string; }