10 lines
144 B
JavaScript
10 lines
144 B
JavaScript
|
|
const r = require('r-dom');
|
|
|
|
const Button = props => r.button({
|
|
className: 'button',
|
|
...props,
|
|
}, props.children);
|
|
|
|
module.exports = Button;
|