/**
 * 骨架屏演示
 */

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

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

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

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

  state: IPageState = {};

  componentDidMount() {}

  componentDidShow() {}

  render() {
    return (
      <View className='skeleton-page'>
        <Skeleton title avatar animateName='elastic'></Skeleton>
      </View>
    );
  }
}
export default Index as ComponentClass<IPageOwnProps, IPageState>;

