File tree Expand file tree Collapse file tree 1 file changed +14
-10
lines changed
packages/create-react-native-library/src Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -168,16 +168,20 @@ const TYPE_CHOICES: {
168
168
value : 'module-new' ,
169
169
description : NEWARCH_DESCRIPTION ,
170
170
} ,
171
- {
172
- title : 'Fabric view with backward compat' ,
173
- value : 'view-mixed' ,
174
- description : BACKCOMPAT_DESCRIPTION ,
175
- } ,
176
- {
177
- title : 'Fabric view' ,
178
- value : 'view-new' ,
179
- description : NEWARCH_DESCRIPTION ,
180
- } ,
171
+ ...( process . env . EXPERIMENTAL_FABRIC_ENABLED === '1'
172
+ ? ( [
173
+ {
174
+ title : 'Fabric view with backward compat' ,
175
+ value : 'view-mixed' ,
176
+ description : BACKCOMPAT_DESCRIPTION ,
177
+ } ,
178
+ {
179
+ title : 'Fabric view' ,
180
+ value : 'view-new' ,
181
+ description : NEWARCH_DESCRIPTION ,
182
+ } ,
183
+ ] as const )
184
+ : [ ] ) ,
181
185
] ;
182
186
183
187
const args : Record < ArgName , yargs . Options > = {
You can’t perform that action at this time.
0 commit comments