Latest updates from IceHrmPro
This commit is contained in:
39
web/node_modules/rc-menu/lib/interface.d.ts
generated
vendored
Normal file
39
web/node_modules/rc-menu/lib/interface.d.ts
generated
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
/// <reference types="react" />
|
||||
import { TransitionNameType, MotionType } from 'rc-trigger/lib/interface';
|
||||
export declare type RenderIconType = React.ReactNode | ((props: any) => React.ReactNode);
|
||||
export interface MenuInfo {
|
||||
key: React.Key;
|
||||
keyPath: React.Key[];
|
||||
item: React.ReactInstance;
|
||||
domEvent: React.MouseEvent<HTMLElement>;
|
||||
}
|
||||
export interface SelectInfo extends MenuInfo {
|
||||
selectedKeys?: React.Key[];
|
||||
}
|
||||
export declare type SelectEventHandler = (info: SelectInfo) => void;
|
||||
export declare type HoverEventHandler = (info: {
|
||||
key: React.Key;
|
||||
hover: boolean;
|
||||
}) => void;
|
||||
export declare type MenuHoverEventHandler = (info: {
|
||||
key: React.Key;
|
||||
domEvent: React.MouseEvent<HTMLElement>;
|
||||
}) => void;
|
||||
export declare type MenuClickEventHandler = (info: MenuInfo) => void;
|
||||
export declare type DestroyEventHandler = (key: React.Key) => void;
|
||||
export declare type OpenEventHandler = (keys: React.Key[] | {
|
||||
key: React.Key;
|
||||
item: React.ReactInstance;
|
||||
trigger: string;
|
||||
open: boolean;
|
||||
}) => void;
|
||||
export declare type MenuMode = 'horizontal' | 'vertical' | 'vertical-left' | 'vertical-right' | 'inline';
|
||||
export declare type OpenAnimation = string | Record<string, any>;
|
||||
export interface MiniStore {
|
||||
getState: () => any;
|
||||
setState: (state: any) => void;
|
||||
}
|
||||
export declare type LegacyFunctionRef = (node: React.ReactInstance) => void;
|
||||
export declare type BuiltinPlacements = Record<string, any>;
|
||||
export declare type TriggerSubMenuAction = 'click' | 'hover';
|
||||
export { TransitionNameType, MotionType };
|
||||
Reference in New Issue
Block a user