8 lines
118 B
JavaScript
8 lines
118 B
JavaScript
|
|
const r = require('r-dom');
|
|
|
|
module.exports = props => r.label({
|
|
className: 'label',
|
|
...props,
|
|
}, props.children);
|