1
0
mirror of https://github.com/franjsco/tick3t synced 2025-06-05 22:19:18 +02:00

feat: add custom button component

This commit is contained in:
frab1t
2019-05-18 19:09:11 +02:00
parent 51a27cf3c7
commit 8278b4eb36

33
src/components/Button.js Normal file
View File

@ -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 (
<ButtonBootstrap
tag={this.props.tag}
to={this.props.to}
color="primary"
outline
style={style}
>
{this.props.children}
</ButtonBootstrap>
);
}
}
export default Button;