This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
outline/server/emails/components/Button.js
2018-05-05 16:16:08 -07:00

20 lines
418 B
JavaScript

// @flow
import * as React from 'react';
type Props = { href: string, children: React.Node };
export default (props: Props) => {
const style = {
display: 'inline-block',
padding: '10px 20px',
color: '#FFFFFF',
background: '#000000',
borderRadius: '4px',
fontWeight: 500,
textDecoration: 'none',
cursor: 'pointer',
};
return <a {...props} style={style}>{props.children}</a>;
};