@@ -29,21 +29,21 @@ let _single_element_fragment = <>
2929
3030let  _multiple_element_fragment  =  < > 
3131  < input 
32-     type = "text" 
32+     type = { "text" } 
3333  /> 
3434  < input 
35-     type = "number" 
35+     type = { "number" } 
3636  /> 
3737</ > ; 
3838
3939let  _unary_element_with_props  =  < input 
40-   className = "foo" 
41-   type = "text" 
40+   className = { "foo" } 
41+   type = { "text" } 
4242/> ; 
4343
4444let  _container_element_with_props_and_children  =  < div 
45-   className = "foo" 
46-   title = "foo" 
45+   className = { "foo" } 
46+   title = { "foo" } 
4747> 
4848  { "Hello, world!" } 
4949</ div > ; 
@@ -57,19 +57,19 @@ let newrecord = {...baseProps};
5757
5858let  _unary_element_with_spread_props  =  < input 
5959  { ...newrecord }  
60-   type = "text" 
60+   type = { "text" } 
6161/> ; 
6262
6363let  newrecord$1  =  { ...baseProps } ; 
6464
6565let  _container_with_spread_props  =  < div 
6666  { ...newrecord$1 }  
67-   title = "barry" 
68-   className = "barry" 
67+   title = { "barry" } 
68+   className = { "barry" } 
6969> 
7070  { "Hello, world!" } 
7171  < input 
72-     type = "text" 
72+     type = { "text" } 
7373  /> 
7474</ div > ; 
7575
@@ -83,8 +83,8 @@ let baseChildren = [
8383] ; 
8484
8585let  _container_with_spread_children  =  < div 
86-   className = "barry" 
87-   title = "barry" 
86+   className = { "barry" } 
87+   title = { "barry" } 
8888> 
8989  { baseChildren } 
9090</ div > ; 
@@ -93,31 +93,31 @@ let newrecord$2 = {...baseProps};
9393
9494let  _container_with_spread_props_and_children  =  < div 
9595  { ...newrecord$2 }  
96-   title = "barry" 
97-   className = "barry" 
96+   title = { "barry" } 
97+   className = { "barry" } 
9898> 
9999  { baseChildren } 
100100</ div > ; 
101101
102102let  newrecord$3  =  { ...baseProps } ; 
103103
104104let  _unary_element_with_spread_props_keyed  =  < input 
105-   key = "barry-key" 
105+   key = { "barry-key" }   
106106  { ...newrecord$3 }  
107-   type = "text" 
107+   type = { "text" } 
108108/> ; 
109109
110110let  newrecord$4  =  { ...baseProps } ; 
111111
112112let  _container_with_spread_props_keyed  =  < div 
113-   key = "barry-key" 
113+   key = { "barry-key" }   
114114  { ...newrecord$4 }  
115-   title = "barry" 
116-   className = "barry" 
115+   title = { "barry" } 
116+   className = { "barry" } 
117117> 
118118  { "Hello, world!" } 
119119  < input 
120-     type = "text" 
120+     type = { "text" } 
121121  /> 
122122</ div > ; 
123123
@@ -156,29 +156,29 @@ let MyWeirdComponent = {
156156} ; 
157157
158158let  _escaped_jsx_prop  =  < Jsx_preserve_test$MyWeirdComponent 
159-   MyWeirdProp = "bar" 
159+   MyWeirdProp = { "bar" } 
160160/> ; 
161161
162162let  _large_component  =  < div 
163-   className = "bar" 
163+   className = { "bar" } 
164164  tabIndex = { 1 } 
165-   title = "foo" 
165+   title = { "foo" } 
166166  onClick = { param  =>  { } } 
167167  onMouseDown = { param  =>  { } } 
168168> 
169169  < p 
170-     className = "bar" 
170+     className = { "bar" } 
171171    tabIndex = { 1 } 
172-     title = "foo" 
172+     title = { "foo" } 
173173    onClick = { param  =>  { } } 
174174    onMouseDown = { param  =>  { } } 
175175  > 
176176    { "Hello, world!" } 
177177  </ p > 
178178  < strong 
179-     className = "bar" 
179+     className = { "bar" } 
180180    tabIndex = { 1 } 
181-     title = "foo" 
181+     title = { "foo" } 
182182    onClick = { param  =>  { } } 
183183    onMouseDown = { param  =>  { } } 
184184  > 
@@ -199,13 +199,13 @@ let ComponentWithOptionalProps = {
199199
200200let  _optional_props  =  < Jsx_preserve_test$ComponentWithOptionalProps 
201201  i = { 1 } 
202-   s = "test" 
202+   s = { "test" } 
203203  element = { < div  /> } 
204204/> ; 
205205
206206let  _props_with_hyphen  =  < label 
207-   aria-label = "close sidebar" 
208-   data-testid = "test" 
207+   aria-label = { "close sidebar" } 
208+   data-testid = { "test" } 
209209/> ; 
210210
211211export  { 
0 commit comments