import { ComponentClass } from 'react' import DeviceList from '../device_list' import Taro, { Component, Config } from '@tarojs/taro' // import { View, Text } from '@tarojs/components' import './index.scss' type PageStateProps = {} type PageDispatchProps = {} type PageOwnProps = {} type PageState = {} type IProps = PageStateProps & PageDispatchProps & PageOwnProps interface MyDevice { props: IProps state: PageState } class MyDevice extends Component { config: Config = { navigationBarTitleText: '我的设备' } render() { return <DeviceList /> } } export default MyDevice as ComponentClass<PageOwnProps, PageState>