From 8278b4eb3612bc5f6b57a3b59068c356be8ae1e3 Mon Sep 17 00:00:00 2001 From: frab1t <33671357+frab1t@users.noreply.github.com> Date: Sat, 18 May 2019 19:09:11 +0200 Subject: [PATCH] feat: add custom button component --- src/components/Button.js | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/components/Button.js diff --git a/src/components/Button.js b/src/components/Button.js new file mode 100644 index 0000000..a01f139 --- /dev/null +++ b/src/components/Button.js @@ -0,0 +1,33 @@ +import React, { Component } from 'react'; +import { + Button as ButtonBootstrap +} from 'reactstrap'; + +const style = { + borderRadius: 20 +}; + +class Button extends Component { + constructor(props) { + super(props); + + this.state = {}; + } + + render() { + return ( + + {this.props.children} + + + ); + } +} + +export default Button; \ No newline at end of file