Skip to content

Commit 26614c5

Browse files
frankcalisejoshuayoesmazenchamijamonholmgrenmarkrickert
authored
* chore: RN 0.72.0-rc.3 and Expo 49 alpha.3 * chore: alpha4 expo 49 and RN rc6 * chore: package updates * chore: remove webpack-config dep, expo uses metro now * feat(web): metro over webpack for SDK 49 * chore: tsc fix * Ignite Expresso (#2476 by @frankcalise) * fix(cli): update generator for expo only * refactor(boilerplate): App to typescript * chore: simplify w/ expo * chore: reanimated deps, other dep clean up * fix(boilerplate): removed problematic @expo/metro-config to run dev client * chore: updated native dirs as per expo dev client build * chore: updates to latest Expo SDK * test: update app-icon / splash section * fix(cli): rename bridging header and entitlements * chore(boilerplate): dep update * docs(folder-structure): updated for rework * chore: updates due to structure changes, tests passing 🤞 * fix(generators): add new line to end of app.json * chore: update reactotron dev deps * fix(boilerplate): WelcomeScreen needs this import even if demo removed * fix(cli): remove deprecrated expo flag * fix(boilerplate): match babel config more closely to expo default * chore(cli): reactotron deps * feat(cli): prompt for enabling new arch * chore: remove unused log statements * chore: expect TS error for now * chore(boilerplate): RN 0.72.3 --------- Co-authored-by: Joshua Yoes <[email protected]> * docs(readme): move documentation link higher, update versions * feat(boilerplate): add in default eas.json for EAS Build * chore(boilerplate): eas.json updates * chore: cherry-pick 2e24ef8 * chore: remaining TS strict fixes * feat(boilerplate): expo TS paths in favor of babel plugin * fix(demo): podcast list data * fix(demo): tab icons * fix(boilerplate): podfile.lock * overloading Array.filter for the special case of the Boolean constructor * fix(boilerplate): update reactotron deps, type fixes * chore: gitignore for flame cli 🔥 * refactor(cli): rework experimental flag for more flexible options * fix(cli): kebab-case over camelCase for flags * fix(ReactotronConfig): update to chain * chore(boilerplate): remove native dirs * feat(cli): workflow options go/prebuild/manual * feat(boilerplate): add fabric bool to demo debug screen * chore(boilerplate): dep updates * fix(cli): workflow name value mapping * fix(cli): fix cache issue with tests * docs(releasing-ignite): fixed package.json snippet to be more accurate * fix(cli): #2225 remove-demo finds all empty dirs * fix(boilerplate): #2230 moved assets/icons that only pertain to demo into subdir for removal via remove-demo * chore(boilerplate): update reactotron deps * fix(cli): drop improper flag from prebuild * feat(cli): add prebuild progress message * fix(boilerplate): removed unnecessary expo deps * fix(cli): new arch bools before prebuild * chore: dir clean up, win32 compat * feat(boilerplate): config plugin scaffolding (#2487 by @frankcalise) * feat(boilerplate): added `withSplashScreen` config plugin * docs: updated for local config plugin file structure * fix(cli): new arch toggle drop NA question for Expo Go * docs(readme): add more badges * docs(readme): remove expo badge * Update README.md Co-authored-by: Mazen Chami <[email protected]> * chore(boilerplate): remove unused overrides * fix(boilerplate): better new arch support * chore(boilerplate) Update react-native to 0.72.5 (#2505) * feat(cli): add bun support (#2497 by @frankcalise @jamonholmgren) * chore(release): 8.8.7 [skip ci] ## [8.8.7](v8.8.6...v8.8.7) (2023-08-08) ### Bug Fixes * **cli:** correct cd command when targetPath has changed ([#2488](#2488) by bradherman) ([19a161e](19a161e)) * feat(cli): add bun support * fix: Specifies version of @expo/webpack-config to avoid dependency failure. (#2502 by @jamonholmgren) * chore(release): 8.8.8 [skip ci] ## [8.8.8](v8.8.7...v8.8.8) (2023-09-19) ### Bug Fixes * Specifies version of @expo/webpack-config to avoid dependency failure. ([#2502](#2502) by [@jamonholmgren](https://github.com/jamonholmgren)) ([94ddb85](94ddb85)) * docs: Update README.md -- add Getting Started video link (#2501 by @jamonholmgren) [skip ci] * Switch to bun for boilerplate scripts * Use bun for CI tests * Bump for ci * remove demo app * Bump bun-orb version * bump bun-orb * fix: removed ios remnants merge from main probably * fix(cli): display bun run command --------- Co-authored-by: semantic-release-bot <[email protected]> Co-authored-by: Jamon Holmgren <[email protected]> Co-authored-by: Jamon Holmgren <[email protected]> * fix(cli): Expo Go compat deps (#2508 by @frankcalise and @markrickert) * fix(cli): Expo Go compat deps * feat(tests) Add expo go config changes tests I also moved around the expo go configuration and `findAndUpdateDependencyVersions()` function so that it would be easier to test. --------- Co-authored-by: Mark Rickert <[email protected]> * fix(boilerplate): update type import * fix: ios compiling issue when the user specifies the new architecture (#2517 by @markrickert) * feat(boilerplate) `@shopify/flash-list` integration and ListView HOC (#2513) * feat(boilerplate) @shopify/flash-list integration This integrates @shopify/flash-list in all places where we used to have a FlatList and updates the expo to compatibility object to use the correct expected version while using the latest for expo prebuild and bare workflows. * fix: ios compiling issue when the user specifies the new architecture * fix: Get FlashList working in new architecture using interop layer iOS seems to have problems with flashlist using interop, but android seems to work just fine. * feat: adds ListView Higher Order Component Displays a FlashList or FlatList depending on language RTL features. Needs a little more work on the `ref` passing. * chore: formatting * refactor(boilerplate): ListView HOC types * chore(tests) Tests passing after adding new ListView component * ci: bun version lock --------- Co-authored-by: Frank Calise <[email protected]> * fix(boilerplate): inherit default metro from expo (#2526 by @frankcalise) * fix(web): Fixes web implementation (#2528) There was a problem with the web implementation because we were directly using `DrawerLayout` from `react-native-gesture-handler`. Moving to `Drawer` from `react-native-drawer-layout` (a react-navigation product) mitigates this issue without losing any functionality. * docs: ir-docs dir structure * chore(docs): Cleanup * docs(upgrades): go/prebuild notes * Align with master * docs(readme): point to hosted site * docs(readme): link directly to md for now * docs: ir-doc release prep * docs: added cli options * docs: rework landing for getting started * ci(ir-docs): orb setup --------- Co-authored-by: Joshua Yoes <[email protected]> Co-authored-by: Mazen Chami <[email protected]> Co-authored-by: Jamon Holmgren <[email protected]> Co-authored-by: Mark Rickert <[email protected]> Co-authored-by: semantic-release-bot <[email protected]> Co-authored-by: Jamon Holmgren <[email protected]> Co-authored-by: Mark Rickert <[email protected]>
1 parent fab3632 commit 26614c5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+547
-162
lines changed

.circleci/config.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ defaults: &defaults
1010
working_directory: /mnt/ramdisk/repo
1111

1212
version: 2.1
13+
14+
parameters:
15+
"force-release-docs":
16+
type: boolean
17+
default: false
18+
19+
orbs:
20+
publish-docs: infinitered/[email protected]
1321
jobs:
1422
tests:
1523
<<: *defaults
@@ -81,6 +89,19 @@ jobs:
8189
name: Publish to npm
8290
command: yarn ci:publish # this will be added to your package.json scripts
8391

92+
# Publishing docs details
93+
publish-details: &publish-details
94+
description: "Infinite Red's hottest boilerplate for React Native."
95+
git_email: "[email protected]"
96+
git_username: "Infinite Red CI"
97+
label: "Ignite"
98+
project_name: "ignite-cli"
99+
source_docs_dir: docs
100+
source_repo_directory: "source"
101+
target_docs_dir: "docs"
102+
target_repo: "[email protected]:infinitered/ir-docs.git"
103+
target_repo_directory: "target"
104+
84105
workflows:
85106
version: 2
86107
test_and_release:
@@ -93,3 +114,23 @@ workflows:
93114
filters:
94115
branches:
95116
only: master
117+
release-docs:
118+
when:
119+
and:
120+
- not: << pipeline.parameters.force-release-docs >>
121+
- true # Placeholder for correct YAML structure
122+
jobs:
123+
- publish-docs/publish_docs:
124+
<<: *publish-details
125+
filters:
126+
branches:
127+
only:
128+
- master
129+
tags:
130+
only:
131+
- '*v[0-9]+\.[0-9]+\.[0-9]+'
132+
force-release-docs:
133+
when: << pipeline.parameters.force-release-docs >>
134+
jobs:
135+
- publish-docs/publish_docs:
136+
<<: *publish-details

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This is the React Native boilerplate that the [Infinite Red](https://infinite.re
1717

1818
Check out the [Getting Started with Ignite](https://www.youtube.com/watch?v=KOSvDlFyg20) video for a 13 minute overview!
1919

20-
## [Full Documentation](https://github.com/infinitered/ignite/blob/master/docs)
20+
## [Full Documentation](https://github.com/infinitered/ignite/blob/master/docs/README.md)
2121

2222
We've put great effort into the documentation as a team, please [read through it here](https://github.com/infinitered/ignite/blob/master/docs). If you're unsure why a certain decision was made related to this boilerplate or how to proceed with a particular feature, it's likely documented. If it still isn't clear, go through the proper [help channels](#reporting-bugs--getting-help) and we always welcome PRs to improve the docs!
2323

@@ -47,7 +47,7 @@ Nothing makes it into Ignite unless it's been proven on projects that Infinite R
4747
| date-fns | Date library | v2 | Excellent date library |
4848
| FlashList | FlatList replacement | v1 | A performant drop-in replacement for FlatList |
4949

50-
Ignite also comes with a [component library](https://github.com/infinitered/ignite/blob/master/docs/Components.md) that is tuned for custom designs, theming support, testing, custom fonts, generators, and much, much more.
50+
Ignite also comes with a [component library](./docs/boilerplate/components/Components.md) that is tuned for custom designs, theming support, testing, custom fonts, generators, and much, much more.
5151

5252
## Quick Start
5353

@@ -66,7 +66,7 @@ npx ignite-cli@latest new PizzaApp
6666
npx ignite-cli@latest new PizzaApp --yes
6767
```
6868

69-
Once you're up and running, check out our new [Getting Started Guide](https://github.com/infinitered/ignite/blob/master/docs/Guide.md) guide or the rest of our [docs](https://github.com/infinitered/ignite/blob/master/docs).
69+
Once you're up and running, check out our new [Getting Started Guide](/docs/Guide.md) guide or the rest of our [docs](https://github.com/infinitered/ignite/blob/master/docs).
7070

7171
If you'd like to follow a tutorial, check out [this one from Robin Heinze](https://shift.infinite.red/creating-a-trivia-app-with-ignite-bowser-part-1-1987cc6e93a1). _Note that this was created for a previous version of Ignite -- we are working on updating it!_
7272

@@ -78,7 +78,7 @@ _The hidden gem of Ignite._ Generators help you scaffold your app very quickly,
7878
npx ignite-cli generate --help
7979
```
8080

81-
...will give you information on what generators are present. To learn more, check out our [Generators](https://github.com/infinitered/ignite/blob/master/docs/Generators.md) documentation.
81+
...will give you information on what generators are present. To learn more, check out our [Generators](/docs/concept//Generators.md) documentation.
8282

8383
### Troubleshooting
8484

boilerplate/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
}
111111
},
112112
"engines": {
113-
"node": ">=18"
113+
"node": ">=16"
114114
},
115115
"prettier": {
116116
"printWidth": 100,

docs/Guide.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
sidebar_position: 2
3+
---
4+
15
# Getting Started Guide
26

37
## What is Ignite?
@@ -16,24 +20,24 @@ npx ignite-cli@latest new PizzaApp
1620

1721
It'll walk you through several questions.
1822

19-
Once it's up and running, you can use the Ignite CLI to [generate](./Generators.md) components, screens, MST models, and more.
23+
Once it's up and running, you can use the Ignite CLI to [generate](./concept/Generators.md) components, screens, MST models, and more.
2024

21-
Running into errors? have a look at [upgrading Ignite CLI](./Upgrading-Ignite.md)
25+
Running into errors? have a look at [upgrading Ignite CLI](./cli/Upgrading-Ignite.md)
2226

2327
### Ignite Boilerplate
2428

2529
Your new Ignite project (whether you start with Expo or not) comes with a full stack of useful libraries, pre-set up for you so you can start coding.
2630

2731
- React Native
2832
- React Navigation
29-
- MobX-State-Tree [(Why not Redux?)](https://github.com/infinitered/ignite/blob/master/docs/MobX-State-Tree.md)
33+
- MobX-State-Tree [(Why not Redux?)](./concept/MobX-State-Tree.md)
3034
- MobX-React-Lite
3135
- TypeScript
3236
- AsyncStorage (integrated with MST for restoring state)
3337
- apisauce (to talk to REST servers)
3438
- Reactotron-ready (and pre-integrated with MST)
3539
- Supports Expo (and Expo web) out of the box
36-
- About a dozen prebuilt [components](./Components.md) to build out your UI with
40+
- About a dozen prebuilt [components](./boilerplate/components/Components.md) to build out your UI with
3741
- And more!
3842

3943
## Where do I start?
@@ -48,23 +52,23 @@ We use React Navigation v6 in the current version of Ignite. You'll find any nav
4852

4953
There's also a `navigationUtilities.ts` file which provides some utility functions we find useful in building apps, such as `getActiveRouteName`, `useBackButtonHandler` and `useNavigationPersistence`.
5054

51-
Learn more in our [Navigation](./Navigation.md) documentation.
55+
Learn more in our [Navigation](./concept/Navigation.md) documentation.
5256

5357
### Components
5458

5559
Ignite comes with some prebuilt, flexible, and customizable components. Unlike most component libraries, it's not built to drop in out of the box, but rather with custom design in mind (you do have a nice, custom design, don't you?)
5660

5761
Ignite works fine with other component libraries, but the built-in component system works the best for custom-designed apps.
5862

59-
Check out the [Components](./Components.md) documentation.
63+
Check out the [Components](./boilerplate/components/Components.md) documentation.
6064

6165
### Testing
6266

6367
Ignite is pre-configured to use Jest for unit tests.
6468

6569
Ignite includes samples of UI end-to-end tests using [Maestro](https://maestro.mobile.dev/). See our [Ignite Cookbook recipe](https://ignitecookbook.com/docs/recipes/MaestroSetup) for setup and walkthrough of the test samples or check out Maestro's docs on [Installing Maestro](https://maestro.mobile.dev/getting-started/installing-maestro) to run the flows.
6670

67-
You can learn more about why we chose these tests and how to use them in the [Testing](./Testing.md) docs.
71+
You can learn more about why we chose these tests and how to use them in the [Testing](./concept/Testing.md) docs.
6872

6973
### Styling
7074

@@ -88,6 +92,6 @@ const MyComponent = () => {
8892
}
8993
```
9094

91-
Very often, we use [components with presets](./Components.md) to share styles across our whole app.
95+
Very often, we use [components with presets](./boilerplate/components/Components.md) to share styles across our whole app.
9296

93-
Read more about styling in the [Styling](./Styling.md) docs.
97+
Read more about styling in the [Styling](./concept/Styling.md) docs.

docs/README.md

Lines changed: 70 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,72 @@
1+
---
2+
sidebar_position: 1
3+
---
4+
15
# Welcome to Ignite documentation!
26

3-
Check out this list of topics:
4-
5-
- [Getting Started Guide](./Guide.md) - If you're new to Ignite, start here
6-
- [Components](./Components.md) - Ignite's built-in UI components
7-
- [AutoImage](./Components-AutoImage.md)
8-
- [Button](./Components-Button.md)
9-
- [Card](./Components-Card.md)
10-
- [EmptyState](./Components-EmptyState.md)
11-
- [Header](./Components-Header.md)
12-
- [Icon](./Components-Icon.md)
13-
- [ListItem](./Components-ListItem.md)
14-
- [ListView](./Components-ListView.md)
15-
- [Screen](./Components-Screen.md)
16-
- [Text](./Components-Text.md)
17-
- [TextField](./Components-TextField.md)
18-
- [Utils](./Utils.md) - Collection of helpful utilities
19-
- [useSafeAreaInsetsStyle](./Utils-useSafeAreaInsetsStyle.md)
20-
- [useHeader](./Utils-useHeader.md)
21-
- [Theming](./Theming.md) - How to customize the look and feel of your app
22-
- [Colors & Palettes](./Theming-Colors-And-Palettes.md) - Explanation of our palette-based approach to colors
23-
- [Fonts & Typography](./Theming-Fonts-And-Typography.md) - How we define fonts in a semantic way
24-
- [Spacing](./Theming-Spacing.md) - How to approach consistent spacing throughout your Ignite app
25-
- [Styling](./Styling.md) - How we approach styling components in Ignite
26-
- [Navigation](./Navigation.md) - How [React Navigation](https://reactnavigation.org/docs/getting-started/) is used to navigate through your screens
27-
- [Testing](./Testing.md) - How to test your Ignite app
28-
- [Generators](./Generators.md) - Everything you need to know about Ignite generators
29-
- [Generator Templates](./Generator-Templates.md) - Writing your own generator templates
30-
- [Folder-Structure](./Folder-Structure.md) - An explanation of the Ignite folder structure
31-
- [Why MobX-State-Tree?](./MobX-State-Tree.md) - All about MobX-State-Tree, and why we use it instead of Redux
32-
- [Expo and Ignite](./Expo-and-Ignite.md) - How Expo fits in with Ignite, and whether you should use it
33-
- [TypeScript](./TypeScript.md) - An explanation of TypeScript in Ignite and lots of resources
34-
- [Upgrading Ignite](./Upgrading-Ignite.md) - How to upgrade your app to the latest and greatest Ignite patterns
35-
- [Tour of Ignite](./Tour-of-Ignite.md) - Tour of the Ignite code base for interested contributors
36-
- [Releasing Ignite](./Releasing-Ignite.md) - How we release Ignite
37-
- [Internationalization](./Internationalization.md) — How to Internationalize your app
38-
- [Backend API Integration](./Backend-API-Integration.md) - An explanation of Ignite's basic API setup
39-
- [Remove Demo Code](./Remove-Demo-Code.md) - A quick guide on how to remove Ignite's demo code via command line
7+
## Getting Started
8+
9+
### Quick Start
10+
11+
```terminal
12+
npx ignite-cli@latest new pizza-app --yes
13+
```
14+
15+
### Full Guide
16+
17+
If you're new to Ignite, start by reading our [Getting Started Guide](./Guide.md)!
18+
19+
### Intro Video
20+
21+
Check out the [Getting Started with Ignite](https://www.youtube.com/watch?v=KOSvDlFyg20) video for a 13 minute overview!
22+
23+
## Proven React Native boilerplate
24+
25+
The culmination of over seven years of constant React Native development, Ignite is the most popular React Native app boilerplate for both Expo and bare React Native.
26+
27+
This is the React Native boilerplate that the [Infinite Red](https://infinite.red) team uses on a day-to-day basis to build client apps. Developers who use Ignite report that it saves them two to four weeks of time on average off the beginning of their React Native project!
28+
29+
## Usage
30+
31+
- [Command-line Interface (CLI)](./cli/Ignite-CLI.md)
32+
- [Remove Demo Code](./cli/Remove-Demo-Code.md) - A quick guide on how to remove Ignite's demo code via command line
33+
- [Troubleshooting](./cli/Troubleshooting.md)
34+
- [Components](./boilerplate/components/Components.md) - Ignite's built-in UI components
35+
- [AutoImage](./boilerplate/components/AutoImage.md)
36+
- [Button](./boilerplate/components/Button.md)
37+
- [Card](./boilerplate/components/Card.md)
38+
- [EmptyState](./boilerplate/components/EmptyState.md)
39+
- [Header](./boilerplate/components/Header.md)
40+
- [Icon](./boilerplate/components/Icon.md)
41+
- [ListItem](./boilerplate/components/ListItem.md)
42+
- [ListView](./boilerplate/components/ListView.md)
43+
- [Screen](./boilerplate/components/Screen.md)
44+
- [Text](./boilerplate/components/Text.md)
45+
- [TextField](./boilerplate/components/TextField.md)
46+
- [Concepts](./concept/Concepts.md) - An overview of the concepts behind developing with Ignite
47+
48+
- [Backend API Integration](./concept/Backend-API-Integration.md) - An explanation of Ignite's basic API setup
49+
- [Expo and Ignite](./concept/Expo-and-Ignite.md) - How Expo fits in with Ignite, and whether you should use it
50+
- [Folder-Structure](./concept/Folder-Structure.md) - An explanation of the Ignite folder structure
51+
- [Generators](./concept/Generators.md) - Everything you need to know about Ignite generators
52+
- [Generator Templates](./concept/Generator-Templates.md) - Writing your own generator templates
53+
- [Internationalization](./concept/Internationalization.md) — How to Internationalize your app
54+
- [Why MobX-State-Tree?](./concept/MobX-State-Tree.md) - All about MobX-State-Tree, and why we use it instead of Redux
55+
- [Navigation](./concept/Navigation.md) - How [React Navigation](https://reactnavigation.org/docs/getting-started/) is used to navigate through your screens
56+
- [Styling](./concept/Styling.md) - How we approach styling components in Ignite
57+
- [Testing](./concept/Testing.md) - How to test your Ignite app
58+
- [TypeScript](./concept/TypeScript.md) - An explanation of TypeScript in Ignite and lots of resources
59+
- [Upgrades](./concept/Upgrades.md) - How to upgrade your app to the latest and greatest Ignite patterns
60+
61+
- [Theming](./boilerplate/theming/Theming.md) - How to customize the look and feel of your app
62+
- [Colors & Palettes](./boilerplate/theming/Colors-And-Palettes.md) - Explanation of our palette-based approach to colors
63+
- [Fonts & Typography](./boilerplate/theming/Fonts-And-Typography.md) - How we define fonts in a semantic way
64+
- [Spacing](./boilerplate/theming/Spacing.md) - How to approach consistent spacing throughout your Ignite app
65+
- [Utils](./boilerplate/utility/Utils.md) - Collection of helpful utilities
66+
- [useSafeAreaInsetsStyle](./boilerplate/utility/useSafeAreaInsetsStyle.md)
67+
- [useHeader](./boilerplate/utility/useHeader.md)
68+
69+
## Contributing
70+
71+
- [Tour of Ignite](./contributing/Tour-of-Ignite.md) - Tour of the Ignite code base for interested contributors
72+
- [Releasing Ignite](./contributing/Releasing-Ignite.md) - How we release Ignite

docs/_category_.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"label": "Ignite",
3+
"link": null,
4+
"customProps": {
5+
"description": "The battle-tested React Native boilerplate",
6+
"projectName": "ignite",
7+
"sidebar": {
8+
"type": "autogenerated",
9+
"dirName": "ignite"
10+
}
11+
}
12+
}

docs/Folder-Structure.md renamed to docs/boilerplate/Boilerplate.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Explanation of folder structure
1+
# Explanation of the Ignite folder structure
22

33
A new Ignite boilerplate project's structure looks similar to this:
44

@@ -57,19 +57,19 @@ app
5757

5858
This is where your components will live, the reusable building blocks to create your screens. A handful of built-in components come with Ignite that are adaptable to any custom design system you wish to implement. Below are links to further documentation about each component:
5959

60-
- [Component Overview](./Components.md)
61-
- [AutoImage](./Components-AutoImage.md)
62-
- [Button](./Components-Button.md)
63-
- [Card](./Components-Card.md)
64-
- [EmptyState](./Components-EmptyState.md)
65-
- [Header](./Components-Header.md)
66-
- [Icon](./Components-Icon.md)
67-
- [ListItem](./Components-ListItem.md)
68-
- [ListView](./Components-ListView.md)
69-
- [Screen](./Components-Screen.md)
70-
- [Text](./Components-Text.md)
71-
- [TextField](./Components-TextField.md)
72-
- [Toggle](./Components-Toggle.md)
60+
- [Component Overview](../)
61+
- [AutoImage](../boilerplate/components/AutoImage.md)
62+
- [Button](../boilerplate/components/Button.md)
63+
- [Card](../boilerplate/components/Card.md)
64+
- [EmptyState](../boilerplate/components/EmptyState.md)
65+
- [Header](../boilerplate/components/Header.md)
66+
- [Icon](../boilerplate/components/Icon.md)
67+
- [ListItem](../boilerplate/components/ListItem.md)
68+
- [ListView](../boilerplate/components/ListView.md)
69+
- [Screen](../boilerplate/components/Screen.md)
70+
- [Text](../boilerplate/components/Text.md)
71+
- [TextField](../boilerplate/components/TextField.md)
72+
- [Toggle](../boilerplate/components/Toggle.md)
7373

7474
**i18n**
7575

@@ -95,7 +95,7 @@ Any services that interface with the outside world will live here (think REST AP
9595

9696
**theme**
9797

98-
Here lives the theme for your application, including spacing, colors, and typography. For help with adding custom fonts to your application, [check out the readme in ./assets/fonts/](./boilerplate/assets/fonts/custom-fonts.md).
98+
Here lives the theme for your application, including spacing, colors, and typography. For help with adding custom fonts to your application, [check out the readme in Fonts & Typography/](../boilerplate/theming/Fonts-And-Typography.md).
9999

100100
**utils**
101101

docs/boilerplate/_category_.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"label": "Boilerplate",
3+
"position": 2,
4+
"link": {
5+
"type": "doc",
6+
"id": "Boilerplate"
7+
}
8+
}

docs/Components-AutoImage.md renamed to docs/boilerplate/components/AutoImage.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
# AutoImage Component
1+
---
2+
sidebar_position: 30
3+
---
24

3-
[Back to all components](./Components.md)
5+
# AutoImage
46

57
Ignite's `AutoImage` Component is an enhanced version of the built-in React Native [Image](https://reactnative.dev/docs/image) component. It automatically resizes the image view to fit a max width or height constraint
68

docs/Components-Button.md renamed to docs/boilerplate/components/Button.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
# Button Component
1+
---
2+
sidebar_position: 31
3+
---
24

3-
[Back to all components](./Components.md)
5+
# Button
46

5-
The `Button` component is a wrapper around the [`Pressable`](https://reactnative.dev/docs/pressable) component. Any prop that can be passed to `Pressable` can be passed to `Button` and it will be forwarded. `Button` renders a button with given text in a [`Text`](./Components-Text.md) component or children. It allows you to specify the preset style of the button, you can override both the `Pressable` and `Text` styles.
7+
The `Button` component is a wrapper around the [`Pressable`](https://reactnative.dev/docs/pressable) component. Any prop that can be passed to `Pressable` can be passed to `Button` and it will be forwarded. `Button` renders a button with given text in a [`Text`](./Text.md) component or children. It allows you to specify the preset style of the button, you can override both the `Pressable` and `Text` styles.
68

79
```tsx
810
<Button

0 commit comments

Comments
 (0)