包详细信息

@react-email/column

resend3.4mMIT0.0.13

Display a column that separates content areas vertically in your email

react, email

自述文件

React Email Column cover

@react-email/column
Display a column that separates content areas vertically in your email.

Install

Install component from your command line.

With yarn

yarn add @react-email/column -E

With npm

npm install @react-email/column -E

Getting started

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

import { Row } from '@react-email/row';
import { Column } from '@react-email/column';

const Email = () => {
  return(
    <Row>
      <Column>A<Column/>
      <Column>B<Column/>
      <Column>C<Column/>
    </Row>
  );
};

Support

This component was tested using the most popular email clients.

Gmail logo Apple Mail Outlook logo Yahoo! Mail logo HEY logo Superhuman logo
Gmail ✔ Apple Mail ✔ Outlook ✔ Yahoo! Mail ✔ HEY ✔ Superhuman ✔

License

MIT License