25 lines
451 B
TypeScript
25 lines
451 B
TypeScript
import { Component, PropsWithChildren } from 'react'
|
|
import { View, Text } from '@tarojs/components'
|
|
import './index.less'
|
|
|
|
export default class Index extends Component<PropsWithChildren> {
|
|
|
|
componentWillMount () { }
|
|
|
|
componentDidMount () { }
|
|
|
|
componentWillUnmount () { }
|
|
|
|
componentDidShow () { }
|
|
|
|
componentDidHide () { }
|
|
|
|
render () {
|
|
return (
|
|
<View className='index'>
|
|
<Text>Hello world!</Text>
|
|
</View>
|
|
)
|
|
}
|
|
}
|