12 lines
222 B
JavaScript
12 lines
222 B
JavaScript
|
|
const r = require('r-dom');
|
|
|
|
module.exports = ({ userSelect, passive, ...props }) => r.label({
|
|
classSet: {
|
|
label: true,
|
|
'label-user-select': userSelect,
|
|
'label-passive': passive,
|
|
},
|
|
...props,
|
|
}, props.children);
|