@inkdes-email/a
v0.1.7
Published
A React email seperator component to wrap emails (InkDes Mailer)
Maintainers
Readme
@inkdes-email/a
Anchor for email components
Installation
# pnpm
pnpm add @inkdes-email/a
# npm
npm install @inkdes-email/a
# yarn
yarn add @inkdes-email/aQuick start
import { A } from "@inkdes-email/a";
export default function EmailTemplate() {
return <>
<A href='#' color='blue'>Docs</A>
</>
}Props
| Name | Type | Required | Default | Description |
| -------- | --------------- | -------- | ------- | ----------- |
| children | any | No | | |
| dir | "ltr" | "rtl" | No | Comes from wrapping Html component's dir context prop which is ltr | Text direction for the wrapper cell |
| color | string | No | | Hex color |
| noDecoration | boolean | No | false | |
| style | React.CSSProperties | No | | |
| rel | string | No |'noopener noreferrer' | |
| spacing | string | No | - | Spacing bottom, and the anchor tag will be a block component if set |
License
MIT © iClasser
