UNPKG

choices-vue3

Version:

[![npm version](https://img.shields.io/npm/v/choices-vue3.svg)](https://www.npmjs.com/package/choices-vue3) [![npm downloads](https://img.shields.io/npm/dm/choices-vue3.svg)](https://www.npmjs.com/package/choices-vue3) [![Vue 3 Compatible](https://img.shi

24 lines (20 loc) 519 B
import type { Component } from 'vue' export interface Select2Option { [key: string]: any } export interface Select2Vue3Props { id?: string name?: string placeholder?: string options: Select2Option[] modelValue?: string | number | (string | number)[] multiple?: boolean disabled?: boolean required?: boolean valueKey?: string textKey?: string config?: Record<string, any> fetchOnSearch?: boolean loadingSelect?: boolean } export declare const Select2Vue3: Component