Skip to content

sonht1109/rccp

Repository files navigation

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 !