mirror of
https://github.com/Kong/insomnia.git
synced 2026-06-21 22:40:25 -04:00
* Fixed duplication kve bug * Added semistandard and updated code * Actually got it working * Even better * I think it should work on Windows now
17 lines
314 B
JavaScript
17 lines
314 B
JavaScript
import React, {PureComponent} from 'react';
|
|
|
|
class DropdownButton extends PureComponent {
|
|
render () {
|
|
const {children, ...props} = this.props;
|
|
return (
|
|
<button type="button" {...props}>
|
|
{children}
|
|
</button>
|
|
);
|
|
}
|
|
}
|
|
|
|
DropdownButton.propTypes = {};
|
|
|
|
export default DropdownButton;
|