4.0.4 • Published 3 years ago

easy-rating-ez v4.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

NPM npm version license-isc

what is this?

An easy rating component to help you with your needs. includes a star, heart and many more on the way, change the text size and icon size ,give your custom colors to the rating and go beyond. Easyly customizable.

Install

`npm i easy-rating-ez --save`

Usage

import EasyRating from 'easy-rating-ez';

function App() {
  return (
    <div>
      <EasyRating
        title="Rate me"
        count={5}
        textSize="20"
        iconSize="50"
        primaryColor="#ffc107"
        secoundaryColor="#e4e5e9"
        showRating={false}
        defaultRating="2"
        disabled={false}
        icon="star"
      />
    </div>
  );
}

PROPTYPES

PropTypeDefault
classNameString
countinteger5
titleStringRate me
textSizeinteger20
iconSizeinteger50
primaryColorString#ffc107
secoundaryColorString#e4e5e9
showRatingboolfalse
defaultRatinginteger2
disabledboolfalse
iconStringstar or heart

easy-rating

4.0.4

3 years ago

3.0.8

3 years ago

4.0.1

3 years ago

4.0.0

3 years ago

4.0.3

3 years ago

4.0.2

3 years ago

3.0.9

3 years ago

3.0.7

3 years ago

3.0.6

3 years ago

3.0.5

3 years ago

3.0.4

3 years ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago