@@ -40,14 +40,14 @@ const MappedHeading = memo(
4040 return (
4141 < H1
4242 className = { headingStyle ( {
43- size,
44- isTruncated,
45- bold,
46- underline,
47- strikeThrough,
48- sub,
49- italic,
50- highlight,
43+ size : size as any ,
44+ isTruncated : isTruncated as boolean ,
45+ bold : bold as boolean ,
46+ underline : underline as boolean ,
47+ strikeThrough : strikeThrough as boolean ,
48+ sub : sub as boolean ,
49+ italic : italic as boolean ,
50+ highlight : highlight as boolean ,
5151 class : className ,
5252 } ) }
5353 { ...props }
@@ -59,14 +59,14 @@ const MappedHeading = memo(
5959 return (
6060 < H2
6161 className = { headingStyle ( {
62- size,
63- isTruncated,
64- bold,
65- underline,
66- strikeThrough,
67- sub,
68- italic,
69- highlight,
62+ size : size as any ,
63+ isTruncated : isTruncated as boolean ,
64+ bold : bold as boolean ,
65+ underline : underline as boolean ,
66+ strikeThrough : strikeThrough as boolean ,
67+ sub : sub as boolean ,
68+ italic : italic as boolean ,
69+ highlight : highlight as boolean ,
7070 class : className ,
7171 } ) }
7272 { ...props }
@@ -78,14 +78,14 @@ const MappedHeading = memo(
7878 return (
7979 < H3
8080 className = { headingStyle ( {
81- size,
82- isTruncated,
83- bold,
84- underline,
85- strikeThrough,
86- sub,
87- italic,
88- highlight,
81+ size : size as any ,
82+ isTruncated : isTruncated as boolean ,
83+ bold : bold as boolean ,
84+ underline : underline as boolean ,
85+ strikeThrough : strikeThrough as boolean ,
86+ sub : sub as boolean ,
87+ italic : italic as boolean ,
88+ highlight : highlight as boolean ,
8989 class : className ,
9090 } ) }
9191 { ...props }
@@ -97,14 +97,14 @@ const MappedHeading = memo(
9797 return (
9898 < H4
9999 className = { headingStyle ( {
100- size,
101- isTruncated,
102- bold,
103- underline,
104- strikeThrough,
105- sub,
106- italic,
107- highlight,
100+ size : size as any ,
101+ isTruncated : isTruncated as boolean ,
102+ bold : bold as boolean ,
103+ underline : underline as boolean ,
104+ strikeThrough : strikeThrough as boolean ,
105+ sub : sub as boolean ,
106+ italic : italic as boolean ,
107+ highlight : highlight as boolean ,
108108 class : className ,
109109 } ) }
110110 { ...props }
@@ -116,14 +116,14 @@ const MappedHeading = memo(
116116 return (
117117 < H5
118118 className = { headingStyle ( {
119- size,
120- isTruncated,
121- bold,
122- underline,
123- strikeThrough,
124- sub,
125- italic,
126- highlight,
119+ size : size as any ,
120+ isTruncated : isTruncated as boolean ,
121+ bold : bold as boolean ,
122+ underline : underline as boolean ,
123+ strikeThrough : strikeThrough as boolean ,
124+ sub : sub as boolean ,
125+ italic : italic as boolean ,
126+ highlight : highlight as boolean ,
127127 class : className ,
128128 } ) }
129129 { ...props }
@@ -136,14 +136,14 @@ const MappedHeading = memo(
136136 return (
137137 < H6
138138 className = { headingStyle ( {
139- size,
140- isTruncated,
141- bold,
142- underline,
143- strikeThrough,
144- sub,
145- italic,
146- highlight,
139+ size : size as any ,
140+ isTruncated : isTruncated as boolean ,
141+ bold : bold as boolean ,
142+ underline : underline as boolean ,
143+ strikeThrough : strikeThrough as boolean ,
144+ sub : sub as boolean ,
145+ italic : italic as boolean ,
146+ highlight : highlight as boolean ,
147147 class : className ,
148148 } ) }
149149 { ...props }
@@ -155,14 +155,14 @@ const MappedHeading = memo(
155155 return (
156156 < H4
157157 className = { headingStyle ( {
158- size,
159- isTruncated,
160- bold,
161- underline,
162- strikeThrough,
163- sub,
164- italic,
165- highlight,
158+ size : size as any ,
159+ isTruncated : isTruncated as boolean ,
160+ bold : bold as boolean ,
161+ underline : underline as boolean ,
162+ strikeThrough : strikeThrough as boolean ,
163+ sub : sub as boolean ,
164+ italic : italic as boolean ,
165+ highlight : highlight as boolean ,
166166 class : className ,
167167 } ) }
168168 { ...props }
@@ -194,14 +194,14 @@ const Heading = memo(
194194 return (
195195 < AsComp
196196 className = { headingStyle ( {
197- size,
198- isTruncated,
199- bold,
200- underline,
201- strikeThrough,
202- sub,
203- italic,
204- highlight,
197+ size : size as any ,
198+ isTruncated : isTruncated as boolean ,
199+ bold : bold as boolean ,
200+ underline : underline as boolean ,
201+ strikeThrough : strikeThrough as boolean ,
202+ sub : sub as boolean ,
203+ italic : italic as boolean ,
204+ highlight : highlight as boolean ,
205205 class : className ,
206206 } ) }
207207 { ...props }
0 commit comments