import { View } from '@tarojs/components'
interface Props {
  title: string
  children?: React.ReactChild |  React.ReactChild[];
}



const Index: React.FC<Props> = ({title, children}) => {
  return (
    <View>
      <View className='leading-28 text-title text-14 font-medium'>
        {title}
      </View>
      <View className='leading-28 text-content text-14 font-normal'>
        {children}
      </View>
    </View>
  )
}

export default Index
