UNPKG

ant-design-vue

Version:

An enterprise-class UI design language and Vue-based implementation

9 lines (8 loc) 359 B
import type { Ref, VNodeChild } from 'vue'; import type { RawValueType, FlattenOptionsType, Key } from '../interface/generator'; export default function useCacheOptions<OptionsType extends { value?: RawValueType; label?: VNodeChild; key?: Key; disabled?: boolean; }[]>(options: Ref): (vals: RawValueType[]) => FlattenOptionsType<OptionsType>;