🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@react-email/pre

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-email/pre

A block of preformatted text in your email

latest
npmnpm
Version
0.0.2
Version published
Maintainers
2
Created
Source

React Email pre cover

@react-email/pre
A block of preformatted text in your email

Website · GitHub · Discord

Install

Install component from your command line.

With yarn

yarn add @react-email/pre -E

With npm

npm install @react-email/pre -E

Getting started

Add the component to your email template. Include styles where needed.

import { Html } from '@react-email/html';
import { Pre } from '@react-email/pre';

const Email = () => {
  return (
    <Html lang="en">
      <Pre>{'foo          bar'}</Pre>
    </Html>
  );
};

License

MIT License

FAQs

Package last updated on 13 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts