Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 736 Bytes

README.md

File metadata and controls

42 lines (32 loc) · 736 Bytes

RCCP - react components

Collection of ReactJS components

Motivation

This repository is made to learn how to build React component and also how to publish a ReactJS package to NPM

Usage

Install

yarn add rccp

Import css file into your App.tsx

import 'rccp/dist/style.css'

Available Components

  • LazyImage: lazy load image with fade animation
  • ToolTip
  • InputRange

Development

If you would like to learn how to build a React component, this repository may help.

First, clone this repository. Then install dependencies

yarn install

Then, run storybook to preview components

yarn run storybook

Dependencies

  • ReactJS
  • Less
  • Storybook

Enjoy yourself !