react-char-fill 1.0.8 → 1.0.10

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.
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ interface CharacterFillProps {
3
+ position: number;
4
+ rating: number;
5
+ character: string;
6
+ emptyColor?: string;
7
+ fillColor?: string;
8
+ fontSize?: string;
9
+ step: number;
10
+ }
11
+ declare const CharacterFill: React.FC<CharacterFillProps>;
12
+ export default CharacterFill;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ interface CharacterRatingProps {
3
+ rating: number;
4
+ character: string;
5
+ maxRating: number;
6
+ emptyColor?: string;
7
+ fillColor?: string;
8
+ fontSize?: string;
9
+ interactive?: boolean;
10
+ step: number;
11
+ onMouseMove?: (event: React.MouseEvent<HTMLDivElement>) => void;
12
+ onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
13
+ onKeyDown?: (event: React.KeyboardEvent<HTMLDivElement>) => void;
14
+ }
15
+ declare const CharacterRating: React.FC<CharacterRatingProps>;
16
+ export default CharacterRating;
@@ -0,0 +1,2 @@
1
+ export { default as CharacterFill } from './CharacterFill/CharacterFill';
2
+ export { default as CharacterRating } from './CharacterRating/CharacterRating';