1
0
mirror of https://github.com/franjsco/tick3t synced 2025-06-05 22:19:18 +02:00
Files
tick3t/src/components/Button.js
2019-07-30 19:09:56 +02:00

33 lines
570 B
JavaScript

import React, { Component } from 'react';
import {
Button as ButtonBootstrap
} from 'reactstrap';
const style = {
borderRadius: 20,
backgroundImage: 'linear-gradient(to left, #0eaed3, #8346f6)'
};
class Button extends Component {
constructor(props) {
super(props);
this.state = {};
}
render() {
return (
<ButtonBootstrap
onClick={this.props.onClick}
tag={this.props.tag}
to={this.props.to}
style={style}
>
{this.props.children}
</ButtonBootstrap>
);
}
}
export default Button;