1.0.15 • Published 3 years ago

rating-scale-with-rtl v1.0.15

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Rating Scale React Component

It's a react component for rating scale and support RTL and you can change color's by input or you can by props

Installation

Install my-project with npm

npm i rating-scale-with-rtl

Usage/Examples

import Rating from 'rating-scale-with-rtl'

function App() {
  return <Rating rtl={false} length={10} colorBackground="#e4e5e9" colorRating="#ffc107" width='75px' height='20px' />
}

Demo

https://codepen.io/ahmad-aldadah/pen/RwQRwLP

Available options

OptionTypeDefaultDescription
lengthnumber10The max number of rating to display.
widthtext75pxThe max number of rating to display.
heighttext20pxThe max number of rating to display.
rtlbooleanfalseThe dirction of the rating to display.
colorBackgroundHex#e4e5e9The background color of rating to display.
colorRatingHex#ffc107The rating color to display.

Badges

MIT License GPLv3 License AGPL License

License

MIT

Support

For support, issues , email aldadahahmad@gmail.com or contact with me on twitter - @ahmadaldadah.

Authors

Ahmad ALDadah

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago