@react-email/text
Advanced tools
Comparing version
import * as React from 'react'; | ||
type TextProps = Readonly<React.ComponentPropsWithoutRef<"p">>; | ||
type TextProps = Readonly<React.ComponentPropsWithoutRef<'p'>>; | ||
declare const Text: React.ForwardRefExoticComponent<Readonly<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref">> & React.RefAttributes<HTMLParagraphElement>>; | ||
export { Text, type TextProps }; |
@@ -79,3 +79,4 @@ "use strict"; | ||
lineHeight: "24px", | ||
margin: "16px 0" | ||
marginBottom: "16px", | ||
marginTop: "16px" | ||
}, style) | ||
@@ -82,0 +83,0 @@ }) |
{ | ||
"name": "@react-email/text", | ||
"version": "0.0.11", | ||
"version": "0.1.0", | ||
"description": "A block of text separated by blank spaces", | ||
@@ -42,4 +42,3 @@ "sideEffects": false, | ||
"typescript": "5.1.6", | ||
"@react-email/render": "1.0.3", | ||
"eslint-config-custom": "0.0.0", | ||
"@react-email/render": "1.0.5", | ||
"tsconfig": "0.0.0" | ||
@@ -54,3 +53,2 @@ }, | ||
"dev": "tsup src/index.ts --format esm,cjs --dts --external react --watch", | ||
"lint": "eslint .", | ||
"test:watch": "vitest", | ||
@@ -57,0 +55,0 @@ "test": "vitest run" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
10997
0.04%3
-25%147
1.38%