2019-10-20 16:59:02 +02:00
|
|
|
import React from "react";
|
|
|
|
|
import styled from "styled-components";
|
|
|
|
|
import Button, { ButtonProps } from "./Button";
|
2019-01-28 16:54:38 +01:00
|
|
|
|
2019-10-08 16:42:08 +02:00
|
|
|
const Wrapper = styled.div`
|
|
|
|
|
margin-top: 2em;
|
|
|
|
|
padding: 1em 1em;
|
|
|
|
|
border: 2px solid #e9f7fd;
|
|
|
|
|
`;
|
2019-01-28 16:54:38 +01:00
|
|
|
|
2019-10-08 16:42:08 +02:00
|
|
|
export default class CreateButton extends React.Component<ButtonProps> {
|
2019-01-28 16:54:38 +01:00
|
|
|
render() {
|
|
|
|
|
return (
|
2019-10-08 16:42:08 +02:00
|
|
|
<Wrapper className="has-text-centered">
|
2019-02-19 13:15:37 +01:00
|
|
|
<Button color="primary" {...this.props} />
|
2019-10-08 16:42:08 +02:00
|
|
|
</Wrapper>
|
2019-01-28 16:54:38 +01:00
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|