first commit
This commit is contained in:
8
frontend/node_modules/rc-menu/es/utils/warnUtil.d.ts
generated
vendored
Normal file
8
frontend/node_modules/rc-menu/es/utils/warnUtil.d.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
/// <reference types="react" />
|
||||
/**
|
||||
* `onClick` event return `info.item` which point to react node directly.
|
||||
* We should warning this since it will not work on FC.
|
||||
*/
|
||||
export declare function warnItemProp<T extends {
|
||||
item: React.ReactInstance;
|
||||
}>({ item, ...restInfo }: T): T;
|
||||
Reference in New Issue
Block a user