@@ -16,7 +16,16 @@ exports[`react-studio-template-renderer-helper transpile successfully transpiles
16
16
"import * as React from \\ "react\\ ";
17
17
import { CustomButtonProps } from \\ "./CustomButton\\ ";
18
18
import { ViewTestProps } from \\ "./ViewTest\\ ";
19
- import { EscapeHatchProps } from \\ "@aws-amplify/ui-react/internal\\ ";
19
+ export declare type EscapeHatchProps = {
20
+ [elementHierarchy : string ]: Record < string , unknown > ;
21
+ } | null;
22
+ export declare type VariantValues = {
23
+ [key : string ]: string ;
24
+ } ;
25
+ export declare type Variant = {
26
+ variantValues : VariantValues ;
27
+ overrides : EscapeHatchProps ;
28
+ } ;
20
29
export declare type PrimitiveOverrideProps<T > = Partial<T > & React.DOMAttributes<HTMLDivElement >;
21
30
export declare type CustomParentAndChildrenOverridesProps = {
22
31
CustomParentAndChildren ?: ViewTestProps ;
@@ -33,7 +42,16 @@ exports[`react-studio-template-renderer-helper transpile successfully transpiles
33
42
"import * as React from \\"react\\";
34
43
import { CustomButtonProps } from \\"./CustomButton\\";
35
44
import { ViewTestProps } from \\"./ViewTest\\";
36
- import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal\\";
45
+ export declare type EscapeHatchProps = {
46
+ [elementHierarchy : string ]: Record < string , unknown > ;
47
+ } | null;
48
+ export declare type VariantValues = {
49
+ [key : string ]: string ;
50
+ } ;
51
+ export declare type Variant = {
52
+ variantValues : VariantValues ;
53
+ overrides : EscapeHatchProps ;
54
+ } ;
37
55
export declare type PrimitiveOverrideProps<T > = Partial<T > & React.DOMAttributes<HTMLDivElement >;
38
56
export declare type CustomParentAndChildrenOverridesProps = {
39
57
CustomParentAndChildren ?: ViewTestProps ;
@@ -50,7 +68,16 @@ exports[`react-studio-template-renderer-helper transpile successfully transpiles
50
68
"import * as React from \\"react\\";
51
69
import { CustomButtonProps } from \\"./CustomButton\\";
52
70
import { ViewTestProps } from \\"./ViewTest\\";
53
- import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal\\";
71
+ export declare type EscapeHatchProps = {
72
+ [elementHierarchy : string ]: Record < string , unknown > ;
73
+ } | null;
74
+ export declare type VariantValues = {
75
+ [key : string ]: string ;
76
+ } ;
77
+ export declare type Variant = {
78
+ variantValues : VariantValues ;
79
+ overrides : EscapeHatchProps ;
80
+ } ;
54
81
export declare type PrimitiveOverrideProps<T > = Partial<T > & React.DOMAttributes<HTMLDivElement >;
55
82
export declare type CustomParentAndChildrenOverridesProps = {
56
83
CustomParentAndChildren ?: ViewTestProps ;
@@ -67,7 +94,16 @@ exports[`react-studio-template-renderer-helper transpile successfully transpiles
67
94
"import * as React from \\"react\\";
68
95
import { CustomButtonProps } from \\"./CustomButton\\";
69
96
import { ViewTestProps } from \\"./ViewTest\\";
70
- import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal\\";
97
+ export declare type EscapeHatchProps = {
98
+ [elementHierarchy : string ]: Record < string , unknown > ;
99
+ } | null;
100
+ export declare type VariantValues = {
101
+ [key : string ]: string ;
102
+ } ;
103
+ export declare type Variant = {
104
+ variantValues : VariantValues ;
105
+ overrides : EscapeHatchProps ;
106
+ } ;
71
107
export declare type PrimitiveOverrideProps<T > = Partial<T > & React.DOMAttributes<HTMLDivElement >;
72
108
export declare type CustomParentAndChildrenOverridesProps = {
73
109
CustomParentAndChildren ?: ViewTestProps ;
@@ -84,7 +120,16 @@ exports[`react-studio-template-renderer-helper transpile successfully transpiles
84
120
"import * as React from \\"react\\";
85
121
import { CustomButtonProps } from \\"./CustomButton\\";
86
122
import { ViewTestProps } from \\"./ViewTest\\";
87
- import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal\\";
123
+ export declare type EscapeHatchProps = {
124
+ [elementHierarchy : string ]: Record < string , unknown > ;
125
+ } | null;
126
+ export declare type VariantValues = {
127
+ [key : string ]: string ;
128
+ } ;
129
+ export declare type Variant = {
130
+ variantValues : VariantValues ;
131
+ overrides : EscapeHatchProps ;
132
+ } ;
88
133
export declare type PrimitiveOverrideProps<T > = Partial<T > & React.DOMAttributes<HTMLDivElement >;
89
134
export declare type CustomParentAndChildrenOverridesProps = {
90
135
CustomParentAndChildren ?: ViewTestProps ;
@@ -101,7 +146,16 @@ exports[`react-studio-template-renderer-helper transpile successfully transpiles
101
146
"import * as React from \\"react\\";
102
147
import { CustomButtonProps } from \\"./CustomButton\\";
103
148
import { ViewTestProps } from \\"./ViewTest\\";
104
- import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal\\";
149
+ export declare type EscapeHatchProps = {
150
+ [elementHierarchy : string ]: Record < string , unknown > ;
151
+ } | null;
152
+ export declare type VariantValues = {
153
+ [key : string ]: string ;
154
+ } ;
155
+ export declare type Variant = {
156
+ variantValues : VariantValues ;
157
+ overrides : EscapeHatchProps ;
158
+ } ;
105
159
export declare type PrimitiveOverrideProps<T > = Partial<T > & React.DOMAttributes<HTMLDivElement >;
106
160
export declare type CustomParentAndChildrenOverridesProps = {
107
161
CustomParentAndChildren ?: ViewTestProps ;
@@ -118,7 +172,16 @@ exports[`react-studio-template-renderer-helper transpile successfully transpiles
118
172
"import * as React from \\"react\\";
119
173
import { CustomButtonProps } from \\"./CustomButton\\";
120
174
import { ViewTestProps } from \\"./ViewTest\\";
121
- import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal\\";
175
+ export declare type EscapeHatchProps = {
176
+ [elementHierarchy : string ]: Record < string , unknown > ;
177
+ } | null;
178
+ export declare type VariantValues = {
179
+ [key : string ]: string ;
180
+ } ;
181
+ export declare type Variant = {
182
+ variantValues : VariantValues ;
183
+ overrides : EscapeHatchProps ;
184
+ } ;
122
185
export declare type PrimitiveOverrideProps<T > = Partial<T > & React.DOMAttributes<HTMLDivElement >;
123
186
export declare type CustomParentAndChildrenOverridesProps = {
124
187
CustomParentAndChildren ?: ViewTestProps ;
@@ -135,7 +198,16 @@ exports[`react-studio-template-renderer-helper transpile successfully transpiles
135
198
"import * as React from \\"react\\";
136
199
import { CustomButtonProps } from \\"./CustomButton\\";
137
200
import { ViewTestProps } from \\"./ViewTest\\";
138
- import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal\\";
201
+ export declare type EscapeHatchProps = {
202
+ [elementHierarchy : string ]: Record < string , unknown > ;
203
+ } | null;
204
+ export declare type VariantValues = {
205
+ [key : string ]: string ;
206
+ } ;
207
+ export declare type Variant = {
208
+ variantValues : VariantValues ;
209
+ overrides : EscapeHatchProps ;
210
+ } ;
139
211
export declare type PrimitiveOverrideProps<T > = Partial<T > & React.DOMAttributes<HTMLDivElement >;
140
212
export declare type CustomParentAndChildrenOverridesProps = {
141
213
CustomParentAndChildren ?: ViewTestProps ;
@@ -152,7 +224,16 @@ exports[`react-studio-template-renderer-helper transpile successfully transpiles
152
224
"import * as React from \\"react\\";
153
225
import { CustomButtonProps } from \\"./CustomButton\\";
154
226
import { ViewTestProps } from \\"./ViewTest\\";
155
- import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal\\";
227
+ export declare type EscapeHatchProps = {
228
+ [elementHierarchy : string ]: Record < string , unknown > ;
229
+ } | null;
230
+ export declare type VariantValues = {
231
+ [key : string ]: string ;
232
+ } ;
233
+ export declare type Variant = {
234
+ variantValues : VariantValues ;
235
+ overrides : EscapeHatchProps ;
236
+ } ;
156
237
export declare type PrimitiveOverrideProps<T > = Partial<T > & React.DOMAttributes<HTMLDivElement >;
157
238
export declare type CustomParentAndChildrenOverridesProps = {
158
239
CustomParentAndChildren ?: ViewTestProps ;
0 commit comments