artwork-react-native
Version:
artwork design master for react-native
38 lines (37 loc) • 1.04 kB
TypeScript
/// <reference types="react" />
/// <reference types="react-native" />
import React from 'react';
import { IModalStyle } from './style';
import { ModalProps } from './PropsType';
export interface IModalNativeProps extends ModalProps {
styles?: IModalStyle;
}
export default class BriefModal extends React.Component<IModalNativeProps, any> {
static defaultProps: {
visible: boolean;
closable: boolean;
maskClosable: boolean;
style: {};
bodyStyle: {};
animationType: string;
onClose(): void;
footer: never[];
transparent: boolean;
popup: boolean;
animateAppear: boolean;
styles: {
[x: string]: number & {
__registeredStyleBrand: any;
};
};
operation: boolean;
};
static alert: any;
static operation: any;
static prompt: any;
static native: any;
root: any;
onFooterLayout: (e: any) => void;
saveRoot: (root: any) => void;
render(): JSX.Element;
}