import Taro, { Component } from '@tarojs/taro' import { View } from '@tarojs/components' import classnames from 'classnames' import './index.scss' export type Props = { leftIndent?: boolean rightIndent?: boolean } class XcList extends Component { render () { const { leftIndent, rightIndent } = this.props const classNames = classnames('xc-list', { 'xc-list--left-indent': leftIndent, 'xc-list--right-indent': rightIndent }) return {this.props.children} } } export default XcList