cognitiv-ui v1.0.506
This is a repository of common ui components for MSA-based projects
Table of Contents
Installation
Install the dependencies:
npm install
Viewing the component storybook
To view the component library storybook:
npm run storybook
Libraries used
This application uses the following libraries:
View
React is a JavaScript library for building user interfaces. It is declarative and component-based.
HOC utilities
Recompose enables conversion of stateless functional components into class-based components. It also provides a variety of useful higher-order-components and functions which can be found here.
Styling
Emotion is a CSS-in-JS library which has almost the same API as Styled Components but is smaller and faster (Source: https://github.com/emotion-js/emotion/issues/113).
A CSS-in-JS theming solution for React(-like) views.
Polished provides color functions and other utilities similar to those of Sass.
Component library
Storybook allows for easy visualization and documentation of components.
Code formatting and linting
Committed codes will automatically be formatted with Prettier followed by
eslint --fix
.
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago