New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-rating-tooltip

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-rating-tooltip - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

2

package.json
{
"name": "react-rating-tooltip",
"version": "1.0.7",
"version": "1.0.8",
"description": "React Star Rating/Review Component with tooltip support",

@@ -5,0 +5,0 @@ "main": "./lib/Rating.js",

@@ -36,2 +36,3 @@ # React-Rating-Tooltip

max: 4,
defaultRating: 2,
counterPosition: 'left',

@@ -93,2 +94,3 @@ clearRating: true,

max = {this.state.max}
defaultRating = {this.state.defaultRating}
counterPosition = {this.state.counterPosition}

@@ -118,2 +120,3 @@ clearRating = {this.state.clearRating}

| max | Number | `Required`. This determines the maximum number of Stars or Rating in the Component. |
| defaultRating | Number | `Default value - 0`. This determines the current number of selected Stars or Rating in the Component. |
| counterPosition | String | `Possible Values - ['left', 'right']`. This determines the position of the Rating Count in the Component. If not passed, Count will not be displayed. |

@@ -149,2 +152,3 @@ | textPosition | String | `Possible Values - ['left', 'right']`. This determines the position of the Rating Value (Status) in the Component. If not passed, Select value will not be displayed. |

max: PropTypes.number.isRequired,
defaultRating: PropTypes.number,
counterPosition: PropTypes.oneOf(['left', 'right']),

@@ -178,2 +182,3 @@ clearRating: PropTypes.bool,

clearRating: true,
defaultRating: 0,
styleConfig: {

@@ -186,4 +191,3 @@ counterStyle: {

color: '#FFF',
lineHeight: '28px',
lineHeight: '28px',
},

@@ -190,0 +194,0 @@ starContainer: {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc