@react-email/column 0.0.6-canary.0 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -2,7 +2,6 @@ import * as React from 'react';
2
2
 
3
3
  declare type RootProps = React.ComponentPropsWithoutRef<'td'>;
4
4
  interface ColumnProps extends RootProps {
5
- style?: React.CSSProperties;
6
5
  }
7
6
  declare const Column: React.ForwardRefExoticComponent<Readonly<ColumnProps> & React.RefAttributes<HTMLTableDataCellElement>>;
8
7
 
package/dist/index.js CHANGED
@@ -35,25 +35,9 @@ var React = __toESM(require("react"));
35
35
  var import_jsx_runtime = require("react/jsx-runtime");
36
36
  var Column = React.forwardRef(
37
37
  ({ children, style, ...props }, forwardedRef) => {
38
- const styleDefault = {
39
- display: "inline-flex",
40
- justifyContent: "center",
41
- alignItems: "center",
42
- ...style
43
- };
44
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
45
- "td",
46
- {
47
- ref: forwardedRef,
48
- style: styleDefault,
49
- role: "presentation",
50
- ...props,
51
- children
52
- }
53
- );
38
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("td", { ...props, style, ref: forwardedRef, children });
54
39
  }
55
40
  );
56
- Column.displayName = "Column";
57
41
  // Annotate the CommonJS export names for ESM import in node:
58
42
  0 && (module.exports = {
59
43
  Column
package/dist/index.mjs CHANGED
@@ -3,25 +3,9 @@ import * as React from "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  var Column = React.forwardRef(
5
5
  ({ children, style, ...props }, forwardedRef) => {
6
- const styleDefault = {
7
- display: "inline-flex",
8
- justifyContent: "center",
9
- alignItems: "center",
10
- ...style
11
- };
12
- return /* @__PURE__ */ jsx(
13
- "td",
14
- {
15
- ref: forwardedRef,
16
- style: styleDefault,
17
- role: "presentation",
18
- ...props,
19
- children
20
- }
21
- );
6
+ return /* @__PURE__ */ jsx("td", { ...props, style, ref: forwardedRef, children });
22
7
  }
23
8
  );
24
- Column.displayName = "Column";
25
9
  export {
26
10
  Column
27
11
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-email/column",
3
- "version": "0.0.6-canary.0",
3
+ "version": "0.0.6",
4
4
  "description": "Display a column that separates content areas vertically in your email",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
package/readme.md CHANGED
@@ -34,7 +34,6 @@ Add the component to your email template. Include styles where needed.
34
34
  ```jsx
35
35
  import { Row } from '@react-email/row';
36
36
  import { Column } from '@react-email/column';
37
-
38
37
  const Email = () => {
39
38
  return(
40
39
  <Row>