Files
video-gen/video-gen-admin/node_modules/@rc-component/cascader/lib/hooks/useOptions.d.ts
T
2026-05-25 17:08:18 +08:00

9 lines
433 B
TypeScript

import type { DefaultOptionType } from '..';
import type { InternalFieldNames, SingleValueType, LegacyKey } from '../Cascader';
import { type GetEntities } from './useEntities';
export default function useOptions(mergedFieldNames: InternalFieldNames, options?: DefaultOptionType[]): [
mergedOptions: DefaultOptionType[],
getPathKeyEntities: GetEntities,
getValueByKeyPath: (pathKeys: LegacyKey[]) => SingleValueType[]
];