import { ComponentClass } from 'react'
import Taro, { Component } from '@tarojs/taro'
import { View } from '@tarojs/components'
import './index.scss'
type PageOwnProps = {
className?: string
children: any
}
type IProps = PageOwnProps
interface Index {
props: IProps;
}
class Index extends Component {
static options = {
addGlobalClass: true
}
render() {
return (
{this.props.children}
)
}
}
export default Index as ComponentClass