@marimo-team/frontend 0.25.1-dev19 → 0.25.1-dev20
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/package.json
CHANGED
|
@@ -5,7 +5,7 @@ import { cn } from "@/utils/cn";
|
|
|
5
5
|
const H1 = React.forwardRef<
|
|
6
6
|
HTMLHeadingElement,
|
|
7
7
|
React.ComponentPropsWithoutRef<"h1">
|
|
8
|
-
>(({ className, ...props }, ref) => {
|
|
8
|
+
>(({ className, children, ...props }, ref) => {
|
|
9
9
|
return (
|
|
10
10
|
<h1
|
|
11
11
|
className={cn(
|
|
@@ -14,7 +14,9 @@ const H1 = React.forwardRef<
|
|
|
14
14
|
)}
|
|
15
15
|
ref={ref}
|
|
16
16
|
{...props}
|
|
17
|
-
|
|
17
|
+
>
|
|
18
|
+
{children}
|
|
19
|
+
</h1>
|
|
18
20
|
);
|
|
19
21
|
});
|
|
20
22
|
H1.displayName = "H1";
|
|
@@ -22,7 +24,7 @@ H1.displayName = "H1";
|
|
|
22
24
|
const H2 = React.forwardRef<
|
|
23
25
|
HTMLHeadingElement,
|
|
24
26
|
React.ComponentPropsWithoutRef<"h2">
|
|
25
|
-
>(({ className, ...props }, ref) => {
|
|
27
|
+
>(({ className, children, ...props }, ref) => {
|
|
26
28
|
return (
|
|
27
29
|
<h2
|
|
28
30
|
className={cn(
|
|
@@ -31,7 +33,9 @@ const H2 = React.forwardRef<
|
|
|
31
33
|
)}
|
|
32
34
|
ref={ref}
|
|
33
35
|
{...props}
|
|
34
|
-
|
|
36
|
+
>
|
|
37
|
+
{children}
|
|
38
|
+
</h2>
|
|
35
39
|
);
|
|
36
40
|
});
|
|
37
41
|
H2.displayName = "H2";
|
|
@@ -39,7 +43,7 @@ H2.displayName = "H2";
|
|
|
39
43
|
const H3 = React.forwardRef<
|
|
40
44
|
HTMLHeadingElement,
|
|
41
45
|
React.ComponentPropsWithoutRef<"h3">
|
|
42
|
-
>(({ className, ...props }, ref) => {
|
|
46
|
+
>(({ className, children, ...props }, ref) => {
|
|
43
47
|
return (
|
|
44
48
|
<h3
|
|
45
49
|
className={cn(
|
|
@@ -48,7 +52,9 @@ const H3 = React.forwardRef<
|
|
|
48
52
|
)}
|
|
49
53
|
ref={ref}
|
|
50
54
|
{...props}
|
|
51
|
-
|
|
55
|
+
>
|
|
56
|
+
{children}
|
|
57
|
+
</h3>
|
|
52
58
|
);
|
|
53
59
|
});
|
|
54
60
|
H3.displayName = "H3";
|
|
@@ -56,7 +62,7 @@ H3.displayName = "H3";
|
|
|
56
62
|
const H4 = React.forwardRef<
|
|
57
63
|
HTMLHeadingElement,
|
|
58
64
|
React.ComponentPropsWithoutRef<"h4">
|
|
59
|
-
>(({ className, ...props }, ref) => {
|
|
65
|
+
>(({ className, children, ...props }, ref) => {
|
|
60
66
|
return (
|
|
61
67
|
<h4
|
|
62
68
|
className={cn(
|
|
@@ -65,7 +71,9 @@ const H4 = React.forwardRef<
|
|
|
65
71
|
)}
|
|
66
72
|
ref={ref}
|
|
67
73
|
{...props}
|
|
68
|
-
|
|
74
|
+
>
|
|
75
|
+
{children}
|
|
76
|
+
</h4>
|
|
69
77
|
);
|
|
70
78
|
});
|
|
71
79
|
H4.displayName = "H4";
|