@gem-mine/rmc-dialog
Version:
mobile dialog ui component for react
26 lines (25 loc) • 771 B
TypeScript
import React from 'react';
import IDialogPropTypes from './IDialogPropTypes';
export interface IDialogChildProps extends IDialogPropTypes {
getOpenCount: () => number;
switchScrollingEffect?: () => void;
}
declare function noop(): void;
export default class DialogWrap extends React.Component<IDialogPropTypes, any> {
static defaultProps: {
visible: boolean;
prefixCls: string;
onClose: typeof noop;
};
_component: any;
container: any;
shouldComponentUpdate({ visible }: {
visible: any;
}): boolean;
componentWillUnmount(): void;
saveRef: (node: any) => void;
getComponent: (visible: any, childProps: any) => JSX.Element;
removeContainer: () => void;
render(): JSX.Element;
}
export {};