@emailux/a
v1.0.1
Published
A React email seperator component to wrap emails (EmailUX Mailer)
Maintainers
Readme
@emailux/a
Anchor for email components
Installation
# pnpm
pnpm add @emailux/a
# npm
npm install @emailux/a
# yarn
yarn add @emailux/aQuick start
import { A } from "@emailux/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
