This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@react-email/pre
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

React Email pre cover

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

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

Readme

Keywords

none

Package Sidebar

Install

npm i @react-email/pre

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

5.39 kB

Total Files

6

Last publish

Collaborators

  • bukinoshita
  • gabrielmfern
  • zenorocha