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