/**
 * 缺省组件演示
 */

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

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

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

class Index extends Component {
  config: Config = {
    navigationBarTitleText: '缺省组件演示'
  };

  state: IPageState = {};

  componentDidMount() { }

  componentDidShow() { }

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

