mirror of
https://github.com/fazo96/ipfs-boards
synced 2025-01-10 12:24:20 +01:00
11 lines
239 B
JavaScript
11 lines
239 B
JavaScript
var React = require('react')
|
|
|
|
module.exports = React.createClass({
|
|
class: function () {
|
|
return 'fa fa-' + this.props.name + ' ' + this.props.className
|
|
},
|
|
render: function () {
|
|
return (<i className={this.class()}></i>)
|
|
}
|
|
})
|