Skip to content

Storybook of UI components e.g. input, dropdown etc built using styled-components

Notifications You must be signed in to change notification settings

umairfarooq44/ui-components

Repository files navigation

Shared react components library

[[TOC]]

📍 About The Project

ui-components contains shared re-useable react components. It also presents these using Storybook.

Dependencies

🚀 Getting Started

To get a local copy up and running, follow these simple example steps.

Installation

  1. Clone the repo
  git clone
  1. Install node dependencies
  npm i
  1. Start the local dev server with the following command
  npm run storybook:dev
  1. Open the URL - http://localhost:6060

Build and Deploy

1. Development

# Install dependencies
npm install

# Run storybook locally (watches for changes in stories and all the other code)
npm run storybook:dev

# Run command to create build
npm run build

# Increment version (make this on master branch after you have merged your MR and pulled on master)
npm version patch # can be other values, see: npm version -h
# If you want to test your changes in discovery or content, it's possible to create
# pre-release or prepatch version instead

# Publish to npm (also builds the code)
npm publish

About

Storybook of UI components e.g. input, dropdown etc built using styled-components

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published