This template ships with the main React Native and Storybook configuration files you'll need to get up and running fast.
-
Create the application.
Use degit to get this template.
# Clone the template npx degit chromaui/intro-storybook-react-native-template#main taskbox
-
Install the dependencies.
Navigate into your new site’s directory and install the necessary dependencies.
# Navigate to the directory cd taskbox/ # Install the dependencies yarn
-
Open the source code and start editing!
Open the
taskbox
directory in your code editor of choice and building your first component! -
Browse your stories!
Run
yarn storybook:ios
for ios oryarn storybook:android
for android to see your component's stories on your emulator or device.
A quick look at the top-level files and directories included with this template.
.
├── .gitignore
├── LICENSE
├── README.md
├── App.jsx
├── app.config.js
├── yarn.lock
├── package.json
├── babel.config.js
-
.gitignore
: This file tells git which files it should not track or maintain during the development process of your project. -
LICENSE
: The template is licensed under the MIT licence. -
README.md
: A text file containing useful reference information about the project. -
App.jsx
: This is the entry point of your app. -
app.config.js
: This is the configuration file for Expo that allows you to customize your app. -
yarn.lock
: This is an automatically generated file based on the exact versions of your npm dependencies that were installed.
If you encounter an issue with the template, we encourage you to open an issue in this template's repository.
- Read our introductory tutorial at Learn Storybook.
- Learn how to transform your component libraries into design systems in our Design Systems for Developers tutorial.
- See our official documentation at Storybook.