1.0.56 ā€¢ Published 2 years ago

mobile-storybook v1.0.56

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Addi Mobile Storybook

Mobile Storybook is a components collection for Addi App

šŸ“‹ Documentation

Complete documentation in our notion Local Environment

āš™ļø Storybook Visual Structure

The storyBook is organized in this way:

.
ā”œā”€ā”€ Brand
ā”‚  ā”œā”€ā”€ Components like: logos or brand themes.
ā”œā”€ā”€ Layout
ā”‚  ā”œā”€ā”€ Components like: headers or cards.
ā”œā”€ā”€ Controls
ā”‚  ā”œā”€ā”€ Components like: Buttons and Links.
ā”œā”€ā”€ Media
ā”‚  ā”œā”€ā”€ Components like: Carousels, galleries, sliders, video players, etc.
ā”œā”€ā”€ Inputs
ā”‚  ā”œā”€ā”€ Components like: Custom inputs, searchs, error inputs, OTP codes, etc.
ā”œā”€ā”€ Visualizations
ā”‚  ā”œā”€ā”€ Other components like: modals, currencys, store items, purchase, etc.
ā”œā”€ā”€ Typographies
ā”‚  ā”œā”€ā”€ Everything related to fonts in our design foundation.

šŸŽ² First Steps

Mobile Storybook uses Expo React Native Framework and Storybook StoryBook

šŸ•¹ļø Getting started

Please follow the next guide before to working:

Located on platform/ui-mobile/src/apps/mobile-storybook

$ yarn install

Launch iOS

$ yarn mobile-storybook:ios

Launch Android

$ yarn mobile-storybook:android

Launch both platforms (recomended)

$ yarn mobile-storybook:start

Using Storybook

  • If you have added a new story component, you will be able to see it after running $ yarn mobile-storybook:prestorybook. This command will go through the app folder looking for files with .stories extensions and in case it finds a new one it will add it to the storyLoader file.

Utils

šŸ“š Libraries used

  • React Native version: 0.64.3.
  • TypeScript
  • Styled Components
  • Storybook

VSCode extensions

  • Prettier
  • ESLint
  • Editorconfig

:v: Enjoy!