dispatch/client/js/components/ui/Button.js

10 lines
206 B
JavaScript
Raw Normal View History

import React from 'react';
const Button = ({ children, category, ...props }) => (
<button className={`button-${category}`} type="button" {...props}>
{children}
</button>
);
export default Button;