File tree Expand file tree Collapse file tree 3 files changed +2
-20
lines changed
Expand file tree Collapse file tree 3 files changed +2
-20
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @programmer_network/yail" ,
3- "version" : " 1.0.9 " ,
3+ "version" : " 1.0.10 " ,
44 "description" : " Programmer Network's official UI library for React" ,
55 "author" : " Aleksandar Grbic - (https://programmer.network)" ,
66 "publishConfig" : {
Original file line number Diff line number Diff line change @@ -26,13 +26,10 @@ Default.args = {
2626 dislikesCount : 22 ,
2727 onLike : action ( "liked" ) ,
2828 onDislike : action ( "disliked" ) ,
29- shareUrl : "https://www.google.com" ,
30- commentCount : 10 ,
3129 isDisliking : false ,
3230 isLiking : false ,
3331 hasDisliked : false ,
34- hasLiked : true ,
35- onShared : action ( "shared" )
32+ hasLiked : true
3633} ;
3734
3835export const Liked = Template . bind ( { } ) ;
@@ -60,15 +57,3 @@ DislikingInProgress.args = {
6057 ...Default . args ,
6158 isDisliking : true
6259} ;
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 {
66export interface IReactionsProps {
77 hasLiked : boolean ;
88 hasDisliked : boolean ;
9- commentCount : number ;
109 likesCount : number ;
1110 dislikesCount : number ;
1211 onLike : ( ) => void ;
13- onShared ?: ( type : ShareType ) => void ;
1412 onDislike : ( ) => void ;
1513 isLiking : boolean ;
1614 isDisliking : boolean ;
17- shareUrl ?: string ;
1815}
You can’t perform that action at this time.
0 commit comments