File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -111,18 +111,18 @@ let _external_component_with_children = <QueryClientProvider>
111
111
< Preserve_jsx_test$B />
112
112
</ QueryClientProvider > ;
113
113
114
- function make ( props ) {
114
+ function Preserve_jsx_test$MyWeirdComponent ( props ) {
115
115
return < p >
116
116
{ "foo" }
117
117
{ props [ "\\\"MyWeirdProp\"" ] }
118
118
</ p > ;
119
119
}
120
120
121
121
let MyWeirdComponent = {
122
- make : make
122
+ make : Preserve_jsx_test$MyWeirdComponent
123
123
} ;
124
124
125
- let _escaped_jsx_prop = < make MyWeirdProp = { "bar" } /> ;
125
+ let _escaped_jsx_prop = < Preserve_jsx_test$MyWeirdComponent MyWeirdProp = { "bar" } /> ;
126
126
127
127
export {
128
128
React ,
Original file line number Diff line number Diff line change @@ -159,6 +159,7 @@ let _external_component_with_children =
159
159
module MyWeirdComponent = {
160
160
type props = {\"MyWeirdProp" : string }
161
161
162
+ @react.componentWithProps
162
163
let make = props =>
163
164
<p >
164
165
{React .string ("foo" )}
You can’t perform that action at this time.
0 commit comments