A React email css component to to style your email (InkDes Mailer)
npm install @inkdes-email/cssCss component used inside
tag.``bashpnpm
pnpm add @inkdes-email/css
Quick start
`tsx
import { Html, Head } from "@inkdes-email/components";
import { Css } from "@inkdes-email/css";
// Can also be imported from "@inkdes-email/components"
// import { Css } from "@inkdes-email/components";export default function EmailTemplate() {
return
selector={['body', '.inkdes-table']}
style={{ fontSize: '12px', lineHeight: '24px', color: '#000' }}
/>
}
`Props
| Name | Type | Required | Default | Description |
| -------- | ---------------------- | -------- | ------- | ----------------------------------- |
| children | React.ReactNode | Yes | — | Content of the email document |
| style | React.CSSProperties | Yes | — | - |
| selector | Array of strings of css selectors | No | — | |
All other standard Head attributes for the
MIT © iClasser