index.js 273 Bytes
Newer Older
zhanghaozhe committed
1
import React, { PureComponent } from 'react'
baiguangyao committed
2
import './tag.scss'
zhanghaozhe committed
3
export default class Tag extends PureComponent {
baiguangyao committed
4 5 6 7 8 9 10 11
    render() {
        return (
            <span className="tag" {...this.props}>
                {this.props.children}
            </span>
        )
    }
}