import React from 'react';
import Modal from 'antd-mobile-rn/lib/modal/Modal.native';
import styles from './styles';
import alert from './alert';
import prompt from './prompt';
import operation from './operation';

export default class ModalComp extends React.Component {
  static alert = alert;
  static prompt = prompt;
  static operation = operation;

  render() {
    return <Modal styles={styles} {...this.props} />;
  }
}
