0.0.2 • Published 2 years ago

starin v0.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Starin

This is a simple star component for React.

Installation

npm install starin

or

yarn add starin

or

pnpm add starin

Usage

import React from 'react';
import Star from 'starin';

<Starin size={'md'} count={5} rating={2} isLoading={false} />

Props

propertydescriptiondefaulttyperequired
sizestar sizemdsm md lg
countstar count5number
ratingcolored star count0number
isLoadingwhile loading behaviorfalseboolean
onClickset the behavior to click on the starfunction
0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago