import './Modal.less'
import { ComponentType } from 'react'
import { Component } from '@tarojs/taro'
import { View } from '@tarojs/components'

class Modal extends Component {
  static options = {
    addGlobalClass: true,
  }
  render() {
    return <View className='modal-component'>{this.props.children}</View>
  }
}

export default Modal as ComponentType
