mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 14:49:53 +00:00
8452e8b777
* Fixed duplication kve bug * Some changes * Add proptypes linting * Fixed proptypes even more * Filename linting
19 lines
353 B
JavaScript
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;
|