UNPKG

legion-vue-core

Version:

69 lines (67 loc) 1.39 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 disabled state of the component */ disabled?: boolean; /** * Sets the icon left of the component */ iconLeft?: any; /** * Sets the icon right of the component */ iconRight?: any; /** * Sets the id of the component */ id?: string; /** * Sets the name input textfield of the component */ name?: string; /** * Sets the prefix of the component */ prefix?: any; /** * Sets the suffix of the component */ suffix?: any; /** * Sets the variant of the component */ variant?: 'outline' | 'inline'; } export interface TextfieldProps extends ContainerProps, FieldProps { /** * Sets the caption of the component */ caption?: any; /** * Sets the hint of the component */ hint?: any; /** * Sets the label of the component */ label?: string; }