UNPKG

494 BTypeScriptView Raw
1export declare const OVERFLOW_KEY = "rc-menu-more";
2export default function useKeyRecords(): {
3 registerPath: (key: string, keyPath: string[]) => void;
4 unregisterPath: (key: string, keyPath: string[]) => void;
5 refreshOverflowKeys: (keys: string[]) => void;
6 isSubPathKey: (pathKeys: string[], eventKey: string) => boolean;
7 getKeyPath: (eventKey: string, includeOverflow?: boolean) => string[];
8 getKeys: () => string[];
9 getSubPathKeys: (key: string) => Set<string>;
10};