import { Component, PropsWithChildren } from 'react'
import './app.scss'
import './context/locales/index'
import { Provider } from 'react-redux'
import store from './store/store'

// import 'taro-ui/dist/style/index.scss'


const App: React.FC<PropsWithChildren> = ({ children }) => {
  return <Provider store={store}>{children}</Provider>
}
// class App extends Component<PropsWithChildren> {

//   componentDidMount () {}

//   componentDidShow () {}

//   componentDidHide () {}

//   // this.props.children 是将要会渲染的页面
//   render () {
//     return this.props.children
//   }
// }
export default App
