Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kdn0325/storybook-test-app

2023-09-19 React Native Storybook Wire in data
https://github.com/kdn0325/storybook-test-app

Last synced: about 2 months ago
JSON representation

2023-09-19 React Native Storybook Wire in data

Awesome Lists containing this project

README

        



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](https://github.com/Rich-Harris/degit) to get this template.

```shell
# Clone the template
npx degit chromaui/intro-storybook-react-native-template#main taskbox
```

1. **Install the dependencies.**

Navigate into your new site’s directory and install the necessary dependencies.

```shell
# Navigate to the directory
cd taskbox/

# Install the dependencies
yarn
```

1. **Open the source code and start editing!**

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

1. **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](https://storybook.js.org/tutorials/intro-to-storybook/react-native/en/get-started/).
2. Learn how to transform your component libraries into design systems in our [Design Systems for Developers](https://storybook.js.org/tutorials/design-systems-for-developers/) tutorial.
3. See our official documentation at [Storybook](https://storybook.js.org/).