@@ -14,7 +14,7 @@ exports[`react-studio-template-renderer-helper transpile fails to transpile with
14
14
15
15
exports [` react-studio-template-renderer-helper transpile successfully transpiles with ScriptTarget ES3 1` ] = `
16
16
"import * as React from \\ "react\\ ";
17
- import { EscapeHatchProps } from \\ "@aws-amplify/ui-react/internal \\ ";
17
+ import { EscapeHatchProps } from \\ "./utils \\ ";
18
18
import { CustomButtonProps } from \\ "./CustomButton\\ ";
19
19
import { ViewTestProps } from \\ "./ViewTest\\ ";
20
20
export declare type PrimitiveOverrideProps<T > = Partial<T > & React.DOMAttributes<HTMLDivElement >;
@@ -31,7 +31,7 @@ export default function CustomParentAndChildren(props: CustomParentAndChildrenPr
31
31
32
32
exports[`react-studio-template-renderer-helper transpile successfully transpiles with ScriptTarget ES5 1`] = `
33
33
"import * as React from \\"react\\";
34
- import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal \\";
34
+ import { EscapeHatchProps } from \\"./utils \\";
35
35
import { CustomButtonProps } from \\"./CustomButton\\";
36
36
import { ViewTestProps } from \\"./ViewTest\\";
37
37
export declare type PrimitiveOverrideProps<T > = Partial<T > & React.DOMAttributes<HTMLDivElement >;
@@ -48,7 +48,7 @@ export default function CustomParentAndChildren(props: CustomParentAndChildrenPr
48
48
49
49
exports[`react-studio-template-renderer-helper transpile successfully transpiles with ScriptTarget ES2015 1`] = `
50
50
"import * as React from \\"react\\";
51
- import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal \\";
51
+ import { EscapeHatchProps } from \\"./utils \\";
52
52
import { CustomButtonProps } from \\"./CustomButton\\";
53
53
import { ViewTestProps } from \\"./ViewTest\\";
54
54
export declare type PrimitiveOverrideProps<T > = Partial<T > & React.DOMAttributes<HTMLDivElement >;
@@ -65,7 +65,7 @@ export default function CustomParentAndChildren(props: CustomParentAndChildrenPr
65
65
66
66
exports[`react-studio-template-renderer-helper transpile successfully transpiles with ScriptTarget ES2016 1`] = `
67
67
"import * as React from \\"react\\";
68
- import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal \\";
68
+ import { EscapeHatchProps } from \\"./utils \\";
69
69
import { CustomButtonProps } from \\"./CustomButton\\";
70
70
import { ViewTestProps } from \\"./ViewTest\\";
71
71
export declare type PrimitiveOverrideProps<T > = Partial<T > & React.DOMAttributes<HTMLDivElement >;
@@ -82,7 +82,7 @@ export default function CustomParentAndChildren(props: CustomParentAndChildrenPr
82
82
83
83
exports[`react-studio-template-renderer-helper transpile successfully transpiles with ScriptTarget ES2017 1`] = `
84
84
"import * as React from \\"react\\";
85
- import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal \\";
85
+ import { EscapeHatchProps } from \\"./utils \\";
86
86
import { CustomButtonProps } from \\"./CustomButton\\";
87
87
import { ViewTestProps } from \\"./ViewTest\\";
88
88
export declare type PrimitiveOverrideProps<T > = Partial<T > & React.DOMAttributes<HTMLDivElement >;
@@ -99,7 +99,7 @@ export default function CustomParentAndChildren(props: CustomParentAndChildrenPr
99
99
100
100
exports[`react-studio-template-renderer-helper transpile successfully transpiles with ScriptTarget ES2018 1`] = `
101
101
"import * as React from \\"react\\";
102
- import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal \\";
102
+ import { EscapeHatchProps } from \\"./utils \\";
103
103
import { CustomButtonProps } from \\"./CustomButton\\";
104
104
import { ViewTestProps } from \\"./ViewTest\\";
105
105
export declare type PrimitiveOverrideProps<T > = Partial<T > & React.DOMAttributes<HTMLDivElement >;
@@ -116,7 +116,7 @@ export default function CustomParentAndChildren(props: CustomParentAndChildrenPr
116
116
117
117
exports[`react-studio-template-renderer-helper transpile successfully transpiles with ScriptTarget ES2019 1`] = `
118
118
"import * as React from \\"react\\";
119
- import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal \\";
119
+ import { EscapeHatchProps } from \\"./utils \\";
120
120
import { CustomButtonProps } from \\"./CustomButton\\";
121
121
import { ViewTestProps } from \\"./ViewTest\\";
122
122
export declare type PrimitiveOverrideProps<T > = Partial<T > & React.DOMAttributes<HTMLDivElement >;
@@ -133,7 +133,7 @@ export default function CustomParentAndChildren(props: CustomParentAndChildrenPr
133
133
134
134
exports[`react-studio-template-renderer-helper transpile successfully transpiles with ScriptTarget ES2020 1`] = `
135
135
"import * as React from \\"react\\";
136
- import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal \\";
136
+ import { EscapeHatchProps } from \\"./utils \\";
137
137
import { CustomButtonProps } from \\"./CustomButton\\";
138
138
import { ViewTestProps } from \\"./ViewTest\\";
139
139
export declare type PrimitiveOverrideProps<T > = Partial<T > & React.DOMAttributes<HTMLDivElement >;
@@ -150,7 +150,7 @@ export default function CustomParentAndChildren(props: CustomParentAndChildrenPr
150
150
151
151
exports[`react-studio-template-renderer-helper transpile successfully transpiles with ScriptTarget ES2021 1`] = `
152
152
"import * as React from \\"react\\";
153
- import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal \\";
153
+ import { EscapeHatchProps } from \\"./utils \\";
154
154
import { CustomButtonProps } from \\"./CustomButton\\";
155
155
import { ViewTestProps } from \\"./ViewTest\\";
156
156
export declare type PrimitiveOverrideProps<T > = Partial<T > & React.DOMAttributes<HTMLDivElement >;
0 commit comments