UNPKG

taro-material

Version:

Mini Program components that implement Google's Material Design.

14 lines (11 loc) 432 B
import Nerv from "nervjs"; import Taro from "@tarojs/taro-h5"; import classNames from 'classnames'; import { View } from '@tarojs/components'; import AtComponent from "../../../common/component"; export default class AtActionSheetHeader extends AtComponent { render() { const rootClass = classNames('at-action-sheet__header', this.props.className); return <View className={rootClass}>{this.props.children}</View>; } }