import * as React from 'react'; import { View, ViewStyle, TextStyle, ActivityIndicator, Modal } from 'react-native'; import Node from '../node'; import styles from './style'; const prefixCls = 'loading'; export interface LoadingProps { look?: string; size?: 'small' | 'medium' | 'large' | 'xlarge'; plain?: boolean; color?: string; disabled?: boolean; style?: ViewStyle | ViewStyle[]; textStyle?: TextStyle | TextStyle[]; children?: React.ReactNode; onPress: (e: any) => void; } const Loading: React.FC = props => { const { color, children, style, textStyle } = props; return ( {}}> {children} ); }; export default Loading;