/// import React from 'react'; import { Animated } from 'react-native'; import { IToastStyle } from './style/index.native'; export interface ToastProps { content: string; duration?: number; onClose?: () => void; mask?: boolean; type?: string; onAnimationEnd?: () => void; styles?: IToastStyle; } export default class ToastContainer extends React.Component { static defaultProps: { duration: number; mask: boolean; onClose(): void; styles: any; }; anim: Animated.CompositeAnimation | null; constructor(props: ToastProps); componentDidMount(): void; componentWillUnmount(): void; render(): JSX.Element; }