@inkdes-email/hr
v0.1.3
Published
A React email seperator component to wrap emails (InkDes Mailer)
Downloads
245
Maintainers
Readme
@inkdes-email/hr
Sperator component for email
Installation
# pnpm
pnpm add @inkdes-email/hr
# npm
npm install @inkdes-email/hr
# yarn
yarn add @inkdes-email/hrQuick start
import { Hr } from "@inkdes-email/hr";
export default function EmailTemplate() {
return <>
<Hr />
</>
}Props
| Name | Type | Required | Default | Description |
| -------- | --------------- | -------- | ------- | ----------- |
| color | string | No | #e5e5e5 | |
| width | string | No | 100% | width of seperator |
| align | string | No | center | If width is less than 100% then alignment becomes important |
| style | React.CSSProperties | No | | |
| dir | "ltr" | "rtl" | No | Comes from wrapping Html component's dir context prop which is ltr | Text direction |
| spacing | string | No | Comes from wrapping Html component's defaultSpacing context prop which is 20px | Spacing bottom, by default comes from Html defaultSpacing prop |
License
MIT © iClasser
