mirror of
https://github.com/outline/outline.git
synced 2026-11-22 05:51:43 +03:00
* Initial plan * Fix invisible button in iOS Mail app dark mode using CSS media queries Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com> * Add border --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com> Co-authored-by: Tom Moor <tom@getoutline.com>
26 lines
478 B
TypeScript
26 lines
478 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",
|
|
border: "1px solid #000",
|
|
borderRadius: "4px",
|
|
fontWeight: 500,
|
|
textDecoration: "none",
|
|
cursor: "pointer",
|
|
};
|
|
|
|
const Button: React.FC<Props> = (props) => (
|
|
<a {...props} style={style} className="email-button">
|
|
{props.children}
|
|
</a>
|
|
);
|
|
|
|
export default Button;
|