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-31 15:53:29 +02:00

24 lines
409 B
JavaScript

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