Installation
$ pnpm dlx shadcn@latest add @emailcn/cta-with-background-image
Usage
import { CtaWithBackgroundImage } from "@/components/emails/marketing/cta/cta-with-background-image";<CtaWithBackgroundImage {...CtaWithBackgroundImage.PreviewProps} />API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
theme | EmailTheme | defaultTheme | Email theme styling |