ether-admin/node_modules/ant-design-vue/lib/vc-picker/hooks/useTextValueMapping.d.ts

7 lines
342 B
TypeScript

import type { ComputedRef, Ref } from 'vue';
export default function useTextValueMapping({ valueTexts, onTextChange, }: {
/** Must useMemo, to assume that `valueTexts` only match on the first change */
valueTexts: ComputedRef<string[]>;
onTextChange: (text: string) => void;
}): [Ref<string>, (text: string) => void, () => void];