Skip to content

Preview

Renders a preview text viewable in email clients' inbox list

Install

Install the component from your command line

Terminal window
pnpm add jsx-email

Usage

PreviewExample.jsx
import { Preview } from 'jsx-email';
const Email = () => {
return <Preview>Email preview text</Preview>;
};

Props

Additional Props

This component expresses all of the Common Component Props for ComponentProps<'div'>.