create-expo-stack 2.11.4-next.42157ac → 2.11.4-next.9882067

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -169,6 +169,19 @@ function Card({ children, title }: { children: React.ReactNode; title: string })
169
169
  let hasRequestedReview = false;
170
170
  <% } %>
171
171
  const COMPONENTS: ComponentItem[] = [
172
+ <% if (!props.stylingPackage?.options.selectedComponents.length) { %>
173
+ // ADD ANY ADDITIONAL COMPONENTS HERE
174
+ // {
175
+ // name: 'Component Name',
176
+ // component: function ComponentNameExample() {
177
+ // return (
178
+ // <View>
179
+ // <Text>Component Example</Text>
180
+ // </View>
181
+ // );
182
+ // },
183
+ // },
184
+ <% } %>
172
185
  <% if (props.stylingPackage?.options.selectedComponents.includes('picker')) { %>
173
186
  {
174
187
  name: 'Picker',
@@ -32,6 +32,7 @@ export default function RootLayout() {
32
32
  key={`root-status-bar-${isDarkColorScheme ? 'light' : 'dark'}`}
33
33
  style={isDarkColorScheme ? 'light' : 'dark'}
34
34
  />
35
+ // WRAP YOUR APP WITH ANY ADDITIONAL PROVIDERS HERE
35
36
  <% if (props.stylingPackage?.options.selectedComponents.includes('bottom-sheet')) { %>
36
37
  <GestureHandlerRootView style={{ flex: 1 }}>
37
38
  <BottomSheetModalProvider>
@@ -35,6 +35,7 @@ export default function RootLayout() {
35
35
  key={`root-status-bar-${isDarkColorScheme ? 'light' : 'dark'}`}
36
36
  style={isDarkColorScheme ? 'light' : 'dark'}
37
37
  />
38
+ // WRAP YOUR APP WITH ANY ADDITIONAL PROVIDERS HERE
38
39
  <% if (props.stylingPackage?.options.selectedComponents.includes('bottom-sheet')) { %>
39
40
  <GestureHandlerRootView style={{ flex: 1 }}>
40
41
  <BottomSheetModalProvider>
@@ -162,6 +162,19 @@ function Card({ children, title }: { children: React.ReactNode; title: string })
162
162
  let hasRequestedReview = false;
163
163
  <% } %>
164
164
  const COMPONENTS: ComponentItem[] = [
165
+ <% if (!props.stylingPackage?.options.selectedComponents.length) { %>
166
+ // ADD ANY ADDITIONAL COMPONENTS HERE
167
+ // {
168
+ // name: 'Component Name',
169
+ // component: function ComponentNameExample() {
170
+ // return (
171
+ // <View>
172
+ // <Text>Component Example</Text>
173
+ // </View>
174
+ // );
175
+ // },
176
+ // },
177
+ <% } %>
165
178
  <% if (props.stylingPackage?.options.selectedComponents.includes('picker')) { %>
166
179
  {
167
180
  name: 'Picker',
@@ -169,6 +169,19 @@ function Card({ children, title }: { children: React.ReactNode; title: string })
169
169
  let hasRequestedReview = false;
170
170
  <% } %>
171
171
  const COMPONENTS: ComponentItem[] = [
172
+ <% if (!props.stylingPackage?.options.selectedComponents.length) { %>
173
+ // ADD ANY ADDITIONAL COMPONENTS HERE
174
+ // {
175
+ // name: 'Component Name',
176
+ // component: function ComponentNameExample() {
177
+ // return (
178
+ // <View>
179
+ // <Text>Component Example</Text>
180
+ // </View>
181
+ // );
182
+ // },
183
+ // },
184
+ <% } %>
172
185
  <% if (props.stylingPackage?.options.selectedComponents.includes('picker')) { %>
173
186
  {
174
187
  name: 'Picker',
@@ -35,6 +35,7 @@ export default function RootLayout() {
35
35
  key={`root-status-bar-${isDarkColorScheme ? 'light' : 'dark'}`}
36
36
  style={isDarkColorScheme ? 'light' : 'dark'}
37
37
  />
38
+ // WRAP YOUR APP WITH ANY ADDITIONAL PROVIDERS HERE
38
39
  <% if (props.stylingPackage?.options.selectedComponents.includes('bottom-sheet')) { %>
39
40
  <GestureHandlerRootView style={{ flex: 1 }}>
40
41
  <BottomSheetModalProvider>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-expo-stack",
3
- "version": "2.11.4-next.42157ac",
3
+ "version": "2.11.4-next.9882067",
4
4
  "description": "CLI tool to initialize a React Native application with Expo",
5
5
  "repository": {
6
6
  "type": "git",