@siddhantmadhur/react-rating
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -10,4 +10,5 @@ import React, { SetStateAction } from "react"; | ||
readOnly?: boolean; | ||
className?: string; | ||
} | ||
declare function Rating(props: RatingProps): React.JSX.Element; | ||
export default Rating; |
@@ -16,3 +16,3 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ | ||
setHoverValue(props.value); | ||
}, className: "container" }, Array.apply(null, Array(props.length || 5)).map((_item, key) => (React.createElement("div", { key: key, style: { | ||
}, className: `container ${props.className || ""}` }, Array.apply(null, Array(props.length || 5)).map((_item, key) => (React.createElement("div", { key: key, style: { | ||
position: "relative", | ||
@@ -19,0 +19,0 @@ color: props.color, |
{ | ||
"name": "@siddhantmadhur/react-rating", | ||
"private": false, | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/SiddhantMadhur/react-rating", |
7243
85