File tree Expand file tree Collapse file tree 5 files changed +248
-262
lines changed Expand file tree Collapse file tree 5 files changed +248
-262
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @netdata/netdata-ui" ,
3- "version" : " 4.5.2 " ,
3+ "version" : " 4.5.3 " ,
44 "description" : " netdata UI kit" ,
55 "main" : " dist/index.js" ,
66 "module" : " dist/es6/index.js" ,
Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ export const Button = forwardRef(
88 (
99 {
1010 label,
11- icon,
11+ icon = null ,
1212 flavour,
1313 isLoading,
1414 loadingLabel,
15- onClick,
15+ onClick = ( ) => { } ,
1616 textTransform = "firstLetter" ,
1717 iconColor,
1818 iconSize,
@@ -52,8 +52,3 @@ export const Button = forwardRef(
5252 </ StyledButton >
5353 )
5454)
55-
56- Button . defaultProps = {
57- onClick : ( ) => { } ,
58- icon : null ,
59- }
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export const Checkbox = forwardRef(
1212 disabled,
1313 iconProps,
1414 indeterminate,
15- Label,
15+ Label = Text ,
1616 label,
1717 labelProps,
1818 labelPosition = "left" ,
@@ -73,8 +73,3 @@ export const Checkbox = forwardRef(
7373 )
7474 }
7575)
76-
77- Checkbox . defaultProps = {
78- Label : Text ,
79- labelPosition : "right" ,
80- }
You can’t perform that action at this time.
0 commit comments