UNPKG

legion-vue-core

Version:

60 lines (58 loc) 1.23 kB
import { SIZE, STATUS } from '../../utilities/constant'; export interface SelectProps { /** * Sets the block state of the component */ block?: boolean; /** * Sets the caption of the component */ caption?: any; /** * Sets the default value of the component */ defaultValue?: string | string[]; /** * Sets the disabled state of the component */ disabled?: boolean; /** * Sets the hint of the component */ hint?: any; /** * Sets the label of the component */ label?: string; /** * Sets the multi Select state of the component */ multiple?: boolean; /** * Sets the options of the component */ options: { value: string; label: string; }[]; /** * Sets the placeholder of the component */ placeholder?: string; /** * Sets the if option is can searchable of the component */ searchable?: boolean; /** * Sets the size of the component */ size?: SIZE; /** * Sets the status of the component */ status?: STATUS; /** * Sets the variant of the component */ variant?: 'outline' | 'inline'; }