UNPKG

taro-material

Version:

Mini Program components that implement Google's Material Design.

12 lines (10 loc) 383 B
import Taro from '@tarojs/taro' import { View } from '@tarojs/components' import classNames from 'classnames' import AtComponent from '../../../common/component' export default class AtModalHeader extends AtComponent { render () { const rootClass = classNames('at-modal__header', this.props.className) return <View className={rootClass}>{this.props.children}</View> } }