UNPKG

xdesign-vue-next

Version:

XDesign Component for vue-next

19 lines (18 loc) 718 B
import { SetupContext } from 'vue'; import { TdSelectInputProps } from './type'; import { SelectInputCommonProperties } from './interface'; import { TagInputValue } from '../tag-input'; export interface RenderSelectMultipleParams { commonInputProps: SelectInputCommonProperties; onInnerClear: (context: { e: MouseEvent; }) => void; popupVisible: boolean; allowInput: boolean; } export default function useMultiple(props: TdSelectInputProps, context: SetupContext): { tags: import("vue").ComputedRef<TagInputValue>; tPlaceholder: import("vue").ComputedRef<string>; tagInputRef: import("vue").Ref<any>; renderSelectMultiple: (p: RenderSelectMultipleParams) => JSX.Element; };