insomnia/app/ui/components/base/dropdown/dropdown-button.js
Gregory Schier 8452e8b777 Some eslint refactoring (#109)
* Fixed duplication kve bug

* Some changes

* Add proptypes linting

* Fixed proptypes even more

* Filename linting
2017-03-07 21:52:17 -08:00

19 lines
353 B
JavaScript

import React, {PropTypes, PureComponent} from 'react';
class DropdownButton extends PureComponent {
render () {
const {children, ...props} = this.props;
return (
<button type="button" {...props}>
{children}
</button>
);
}
}
DropdownButton.propTypes = {
children: PropTypes.node
};
export default DropdownButton;