File tree 3 files changed +2
-20
lines changed 3 files changed +2
-20
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @programmer_network/yail" ,
3
- "version" : " 1.0.9 " ,
3
+ "version" : " 1.0.10 " ,
4
4
"description" : " Programmer Network's official UI library for React" ,
5
5
"author" : " Aleksandar Grbic - (https://programmer.network)" ,
6
6
"publishConfig" : {
Original file line number Diff line number Diff line change @@ -26,13 +26,10 @@ Default.args = {
26
26
dislikesCount : 22 ,
27
27
onLike : action ( "liked" ) ,
28
28
onDislike : action ( "disliked" ) ,
29
- shareUrl : "https://www.google.com" ,
30
- commentCount : 10 ,
31
29
isDisliking : false ,
32
30
isLiking : false ,
33
31
hasDisliked : false ,
34
- hasLiked : true ,
35
- onShared : action ( "shared" )
32
+ hasLiked : true
36
33
} ;
37
34
38
35
export const Liked = Template . bind ( { } ) ;
@@ -60,15 +57,3 @@ DislikingInProgress.args = {
60
57
...Default . args ,
61
58
isDisliking : true
62
59
} ;
63
-
64
- export const WithCommentsDisabled = Template . bind ( { } ) ;
65
- WithCommentsDisabled . args = {
66
- ...Default . args ,
67
- commentCount : 0
68
- } ;
69
-
70
- export const WithSharingDisabled = Template . bind ( { } ) ;
71
- WithSharingDisabled . args = {
72
- ...Default . args ,
73
- shareUrl : undefined
74
- } ;
Original file line number Diff line number Diff line change @@ -6,13 +6,10 @@ export enum ShareType {
6
6
export interface IReactionsProps {
7
7
hasLiked : boolean ;
8
8
hasDisliked : boolean ;
9
- commentCount : number ;
10
9
likesCount : number ;
11
10
dislikesCount : number ;
12
11
onLike : ( ) => void ;
13
- onShared ?: ( type : ShareType ) => void ;
14
12
onDislike : ( ) => void ;
15
13
isLiking : boolean ;
16
14
isDisliking : boolean ;
17
- shareUrl ?: string ;
18
15
}
You can’t perform that action at this time.
0 commit comments