We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b81c704 commit aa2319cCopy full SHA for aa2319c
src/components/Rate/index.stories.tsx
@@ -9,6 +9,18 @@ export default {
9
10
export const BasicUsage = () => (
11
<div className='container column grey'>
12
- <Rate currentRate={4} disabled />
+ <Rate currentRate={4} />
13
+ </div>
14
+);
15
+
16
+export const CustomIcon = () => (
17
+ <div className='container column grey'>
18
+ <Rate currentRate={4} icon='like' voidIcon='like-o' />
19
20
21
22
+export const CustomColor = () => (
23
24
+ <Rate currentRate={4} icon='like' voidIcon='like-o' color='#1989fa' />
25
</div>
26
);
0 commit comments