@hoddy-ui/next 2.5.84 → 2.5.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1291,7 +1291,8 @@ var RatingInput = ({
|
|
|
1291
1291
|
var RatingStars = ({
|
|
1292
1292
|
rating = 0,
|
|
1293
1293
|
size = 16,
|
|
1294
|
-
color = "#FFD700"
|
|
1294
|
+
color = "#FFD700",
|
|
1295
|
+
inactiveColor = "textSecondary"
|
|
1295
1296
|
}) => {
|
|
1296
1297
|
const colors2 = useColors();
|
|
1297
1298
|
const styles = import_react_native_size_matters9.ScaledSheet.create({
|
|
@@ -1314,7 +1315,7 @@ var RatingStars = ({
|
|
|
1314
1315
|
key: index,
|
|
1315
1316
|
name: "star",
|
|
1316
1317
|
size,
|
|
1317
|
-
color: colors2
|
|
1318
|
+
color: colors2[inactiveColor]?.main || inactiveColor
|
|
1318
1319
|
}
|
|
1319
1320
|
)));
|
|
1320
1321
|
};
|