@hoddy-ui/core 1.0.47 → 1.0.48
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/package.json +1 -1
- package/src/Components/StarRating.tsx +1 -1
- package/src/types.ts +3 -3
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -300,7 +300,7 @@ export interface RatingStarsProps {
|
|
|
300
300
|
}
|
|
301
301
|
|
|
302
302
|
export interface RatingInputProps {
|
|
303
|
-
rating
|
|
304
|
-
size
|
|
305
|
-
onSubmit
|
|
303
|
+
rating?: number;
|
|
304
|
+
size?: number;
|
|
305
|
+
onSubmit?: (data: { rating: number; review: string }) => Promise<void>;
|
|
306
306
|
}
|