chore: Email + mailer refactor (#3342)

* Huge email refactor

* fix: One rename too many

* comments
This commit is contained in:
Tom Moor
2022-04-07 16:50:04 -07:00
committed by GitHub
parent 15375bf199
commit 5c24f9e1d5
39 changed files with 879 additions and 870 deletions

View File

@@ -0,0 +1,24 @@
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;