Files
outline/server/emails/templates/components/Button.tsx
Tom Moor 5c24f9e1d5 chore: Email + mailer refactor (#3342)
* Huge email refactor

* fix: One rename too many

* comments
2022-04-07 16:50:04 -07:00

25 lines
425 B
TypeScript

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