UNPKG

yanzhen-design-vue

Version:

16 lines (15 loc) 603 B
import { Ref } from 'vue'; import { FieldNames, Key, Option, SingleValueType } from './types'; export interface InnerCascaderContextProps { height: Ref<number>; options: Ref<Option[]>; searchValue: Ref<string>; searchOptions: Ref<Option[]>; fieldNames: Ref<FieldNames>; values: Ref<Key[]>; checkedValues: Ref<Key[]>; halfCheckedValues: Ref<Key[]>; onSelect: (valuePath: SingleValueType) => void; } export declare const useProviderInnerCascader: (props: InnerCascaderContextProps) => void; export declare const useInjectInnerCascader: () => InnerCascaderContextProps;