Latest updates from IceHrmPro
This commit is contained in:
23
web/node_modules/rc-picker/lib/PanelContext.d.ts
generated
vendored
Normal file
23
web/node_modules/rc-picker/lib/PanelContext.d.ts
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
import * as React from 'react';
|
||||
import { OnSelect } from './interface';
|
||||
export declare type ContextOperationRefProps = {
|
||||
onKeyDown?: (e: React.KeyboardEvent<HTMLElement>) => boolean;
|
||||
onClose?: () => void;
|
||||
};
|
||||
export interface PanelContextProps {
|
||||
operationRef?: React.MutableRefObject<ContextOperationRefProps | null>;
|
||||
/** Only work with time panel */
|
||||
hideHeader?: boolean;
|
||||
panelRef?: React.Ref<HTMLDivElement>;
|
||||
hidePrevBtn?: boolean;
|
||||
hideNextBtn?: boolean;
|
||||
onDateMouseEnter?: (date: any) => void;
|
||||
onDateMouseLeave?: (date: any) => void;
|
||||
onSelect?: OnSelect<any>;
|
||||
hideRanges?: boolean;
|
||||
open?: boolean;
|
||||
/** Only used for TimePicker and this is a deprecated prop */
|
||||
defaultOpenValue?: any;
|
||||
}
|
||||
declare const PanelContext: React.Context<PanelContextProps>;
|
||||
export default PanelContext;
|
||||
Reference in New Issue
Block a user