/**
 * 弹窗组件演示
 */

import Taro, { Component, Config } from '@tarojs/taro';
import { ComponentClass } from 'react';
import { View } from '@tarojs/components';

import Modal from './../../components/modal/index'
import { IPageState, IProps, IPageOwnProps } from './modal.itf'
import './modal.scss';

interface Index {
  props: IProps;
  // this的属性可以在这里定义
}

class Index extends Component {
  config: Config = {
    navigationBarTitleText: ''
  };

  state: IPageState = {};

  componentDidMount() {}

  componentDidShow() {}

  render() {
    return (
      <View className='modal-page'>
        <Modal />
      </View>
    );
  }
}
export default Index as ComponentClass<IPageOwnProps, IPageState>;

