import React, { Component } from 'react'
import { View, Text } from '@tarojs/components'
import './index.css'

export default class Index extends Component {
  componentDidMount () {
    let a = do {
      if(x > 10) {
        'big';
      } else {
        'small';
      }
    }
  }

  render () {
    return (
      <View className='index'>
        <Text>Hello world!</Text>
      </View>
    )
  }
}
