Latest updates from IceHrmPro
This commit is contained in:
33
web/node_modules/rc-notification/es/Notice.d.ts
generated
vendored
Normal file
33
web/node_modules/rc-notification/es/Notice.d.ts
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
import React, { Component } from 'react';
|
||||
export interface NoticeProps {
|
||||
prefixCls: string;
|
||||
style?: React.CSSProperties;
|
||||
className?: string;
|
||||
duration?: number | null;
|
||||
children?: React.ReactNode;
|
||||
update?: boolean;
|
||||
closeIcon?: React.ReactNode;
|
||||
closable?: boolean;
|
||||
onClick?: React.MouseEventHandler<HTMLDivElement>;
|
||||
onClose?: () => void;
|
||||
/** @private Only for internal usage. We don't promise that we will refactor this */
|
||||
holder?: HTMLDivElement;
|
||||
}
|
||||
export default class Notice extends Component<NoticeProps> {
|
||||
static defaultProps: {
|
||||
onClose(): void;
|
||||
duration: number;
|
||||
style: {
|
||||
right: string;
|
||||
};
|
||||
};
|
||||
closeTimer: number;
|
||||
componentDidMount(): void;
|
||||
componentDidUpdate(prevProps: NoticeProps): void;
|
||||
componentWillUnmount(): void;
|
||||
close: (e?: React.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
|
||||
startCloseTimer: () => void;
|
||||
clearCloseTimer: () => void;
|
||||
restartCloseTimer(): void;
|
||||
render(): JSX.Element;
|
||||
}
|
||||
Reference in New Issue
Block a user