@@ -14,9 +14,9 @@ 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 \\ "./utils\\ ";
18
17
import { CustomButtonProps } from \\ "./CustomButton\\ ";
19
18
import { ViewTestProps } from \\ "./ViewTest\\ ";
19
+ import { EscapeHatchProps } from \\ "@aws-amplify/ui-react/internal\\ ";
20
20
export declare type PrimitiveOverrideProps<T > = Partial<T > & React.DOMAttributes<HTMLDivElement >;
21
21
export declare type CustomParentAndChildrenOverridesProps = {
22
22
CustomParentAndChildren ?: ViewTestProps ;
@@ -31,9 +31,9 @@ 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 \\"./utils\\";
35
34
import { CustomButtonProps } from \\"./CustomButton\\";
36
35
import { ViewTestProps } from \\"./ViewTest\\";
36
+ import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal\\";
37
37
export declare type PrimitiveOverrideProps<T > = Partial<T > & React.DOMAttributes<HTMLDivElement >;
38
38
export declare type CustomParentAndChildrenOverridesProps = {
39
39
CustomParentAndChildren ?: ViewTestProps ;
@@ -48,9 +48,9 @@ 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 \\"./utils\\";
52
51
import { CustomButtonProps } from \\"./CustomButton\\";
53
52
import { ViewTestProps } from \\"./ViewTest\\";
53
+ import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal\\";
54
54
export declare type PrimitiveOverrideProps<T > = Partial<T > & React.DOMAttributes<HTMLDivElement >;
55
55
export declare type CustomParentAndChildrenOverridesProps = {
56
56
CustomParentAndChildren ?: ViewTestProps ;
@@ -65,9 +65,9 @@ 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 \\"./utils\\";
69
68
import { CustomButtonProps } from \\"./CustomButton\\";
70
69
import { ViewTestProps } from \\"./ViewTest\\";
70
+ import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal\\";
71
71
export declare type PrimitiveOverrideProps<T > = Partial<T > & React.DOMAttributes<HTMLDivElement >;
72
72
export declare type CustomParentAndChildrenOverridesProps = {
73
73
CustomParentAndChildren ?: ViewTestProps ;
@@ -82,9 +82,9 @@ 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 \\"./utils\\";
86
85
import { CustomButtonProps } from \\"./CustomButton\\";
87
86
import { ViewTestProps } from \\"./ViewTest\\";
87
+ import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal\\";
88
88
export declare type PrimitiveOverrideProps<T > = Partial<T > & React.DOMAttributes<HTMLDivElement >;
89
89
export declare type CustomParentAndChildrenOverridesProps = {
90
90
CustomParentAndChildren ?: ViewTestProps ;
@@ -99,9 +99,9 @@ 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 \\"./utils\\";
103
102
import { CustomButtonProps } from \\"./CustomButton\\";
104
103
import { ViewTestProps } from \\"./ViewTest\\";
104
+ import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal\\";
105
105
export declare type PrimitiveOverrideProps<T > = Partial<T > & React.DOMAttributes<HTMLDivElement >;
106
106
export declare type CustomParentAndChildrenOverridesProps = {
107
107
CustomParentAndChildren ?: ViewTestProps ;
@@ -116,9 +116,9 @@ 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 \\"./utils\\";
120
119
import { CustomButtonProps } from \\"./CustomButton\\";
121
120
import { ViewTestProps } from \\"./ViewTest\\";
121
+ import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal\\";
122
122
export declare type PrimitiveOverrideProps<T > = Partial<T > & React.DOMAttributes<HTMLDivElement >;
123
123
export declare type CustomParentAndChildrenOverridesProps = {
124
124
CustomParentAndChildren ?: ViewTestProps ;
@@ -133,9 +133,9 @@ 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 \\"./utils\\";
137
136
import { CustomButtonProps } from \\"./CustomButton\\";
138
137
import { ViewTestProps } from \\"./ViewTest\\";
138
+ import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal\\";
139
139
export declare type PrimitiveOverrideProps<T > = Partial<T > & React.DOMAttributes<HTMLDivElement >;
140
140
export declare type CustomParentAndChildrenOverridesProps = {
141
141
CustomParentAndChildren ?: ViewTestProps ;
@@ -150,9 +150,9 @@ 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 \\"./utils\\";
154
153
import { CustomButtonProps } from \\"./CustomButton\\";
155
154
import { ViewTestProps } from \\"./ViewTest\\";
155
+ import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal\\";
156
156
export declare type PrimitiveOverrideProps<T > = Partial<T > & React.DOMAttributes<HTMLDivElement >;
157
157
export declare type CustomParentAndChildrenOverridesProps = {
158
158
CustomParentAndChildren ?: ViewTestProps ;
0 commit comments