Skip to content

react-gadgets is a React Library which contains a collection of custom reusable React Components, documented with storybook and tested using Jest & React-Testing-Library

License

Notifications You must be signed in to change notification settings

awarenessxz/react-gadgets

Repository files navigation

react-gadgets

react-gadgets is a React Library which contains a collection of custom reusable React Components, documented with storybook and tested using Jest & React-Testing-Library. The intention is not to re-create the wheel, hence most of the React Component are created using third party libraries and css.

Overview

This library was created using the following technology decisions:

  • React
  • ES6 (javascript syntax)
  • Eslint & Prettier
  • Rollup (javascript module bundler) & Babel (javascript transcompiler) for bundling the library and publishing to npm.
  • Storybook (for documenting & developing/testing UI components in isolation).
  • Jest & React-Testing-Library (for testing).
  • CSS Modules & SASS (for styling)

Refer to the configuration guide for more details on how to create new library

Usage

  1. Installing the library

    • yarn add react-gadgets
    • Import the Components
      • import { Sample } from 'react-gadgets';
      • import Sample from 'react-gadgets/dist/esm/Sample'; -- direct import
  2. Using the library locally

Development

Refer to the documentation for more details.

References

  1. Creating custom react component library

  2. Writing Test using React-Testing-Library & Jest

  3. Writing Storybook Documentation

  4. Components

Credits

License

Apache 2.0

Important Note: This project does not redistribute third party libraries but identifies their availability. The libraries called by this project are subject to their creator licenses. Remember to consult and comply with all licenses in your uses.

About

react-gadgets is a React Library which contains a collection of custom reusable React Components, documented with storybook and tested using Jest & React-Testing-Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published