You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
494 B
11 lines
494 B
export declare const OVERFLOW_KEY = "rc-menu-more";
|
|
export default function useKeyRecords(): {
|
|
registerPath: (key: string, keyPath: string[]) => void;
|
|
unregisterPath: (key: string, keyPath: string[]) => void;
|
|
refreshOverflowKeys: (keys: string[]) => void;
|
|
isSubPathKey: (pathKeys: string[], eventKey: string) => boolean;
|
|
getKeyPath: (eventKey: string, includeOverflow?: boolean) => string[];
|
|
getKeys: () => string[];
|
|
getSubPathKeys: (key: string) => Set<string>;
|
|
};
|