import classNames from 'classnames'
import { ZOModelHeaderProps } from 'types/model'
import { View } from '@tarojs/components'
import Taro from '@tarojs/taro'
import ZOComponent from '../../../common/component'

export default class ZOModelHeader extends ZOComponent<ZOModelHeaderProps> {
  public render(): JSX.Element {
    const rootClass = classNames('zo-modal__header', this.props.className)
    return <View className={rootClass}>{this.props.children}</View>
  }
}
