Socket
Socket
Sign inDemoInstall

react-star-picker

Package Overview
Dependencies
9
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.2 to 2.1.3

8

dist/types.d.ts

@@ -30,3 +30,3 @@ import * as React from 'react';

};
export type StarPickerProps = SharedProps & {
export type StarPickerProps = Partial<SharedProps> & {
/** function called with the selected value (and the input name) after a new pick */

@@ -40,9 +40,9 @@ onChange: (index: number | null, name?: string) => void;

/** number of stars in the input */
numberStars: number;
numberStars?: number;
/**
* When true, selecting the existing rating clears the input. [DEPRECATED: use the new `resettable` prop instead]
* @deprecated */
doubleTapResets: boolean;
doubleTapResets?: boolean;
/** When true, selecting the existing rating clears the input */
resettable: boolean;
resettable?: boolean;
};
{
"name": "react-star-picker",
"version": "2.1.2",
"version": "2.1.3",
"description": "A star-rating component made with React",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc