Skip to content

Boilerplate template for the Intro to Storybook tutorial for React Native

License

Notifications You must be signed in to change notification settings

chromaui/intro-storybook-react-native-template

Repository files navigation

Chromatic

Chromatic's Intro to Storybook React Native template

This template ships with the main React Native and Storybook configuration files you'll need to get up and running fast.

🚅 Quick start

  1. Create the application.

    Use degit to get this template.

    # Clone the template
    npx degit chromaui/intro-storybook-react-native-template#main taskbox
  2. 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
  3. Open the source code and start editing!

    Open the taskbox directory in your code editor of choice and building your first component!

  4. Browse your stories!

    Run yarn storybook:ios for ios or yarn storybook:android for android to see your component's stories on your emulator or device.

🔎 What's inside?

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
  1. .gitignore: This file tells git which files it should not track or maintain during the development process of your project.

  2. LICENSE: The template is licensed under the MIT licence.

  3. README.md: A text file containing useful reference information about the project.

  4. App.jsx: This is the entry point of your app.

  5. app.config.js: This is the configuration file for Expo that allows you to customize your app.

  6. yarn.lock: This is an automatically generated file based on the exact versions of your npm dependencies that were installed.

Contribute

If you encounter an issue with the template, we encourage you to open an issue in this template's repository.

Learning Storybook

  1. Read our introductory tutorial at Learn Storybook.
  2. Learn how to transform your component libraries into design systems in our Design Systems for Developers tutorial.
  3. See our official documentation at Storybook.

About

Boilerplate template for the Intro to Storybook tutorial for React Native

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •