react-star-picker
Advanced tools
Comparing version 2.1.2 to 2.1.3
@@ -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", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
18205
0