amis-rpc-design/node_modules/rc-menu/es/context/IdContext.d.ts
2023-10-07 19:42:30 +08:00

8 lines
253 B
TypeScript

import * as React from 'react';
export declare const IdContext: React.Context<string>;
export declare function getMenuId(uuid: string, eventKey: string): string;
/**
* Get `data-menu-id`
*/
export declare function useMenuId(eventKey: string): string;