File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -65,13 +65,13 @@ const ButtonTwoLines = ({
65
65
if ( props . componentType === "link" ) {
66
66
return (
67
67
< ButtonLink className = { commonClassStyles } size = { size } { ...props } >
68
- < ChildContent { ...props } isIconLeft = { isIconLeft } />
68
+ < ChildContent { ...props } size = { size } isIconLeft = { isIconLeft } />
69
69
</ ButtonLink >
70
70
)
71
71
}
72
72
return (
73
73
< Button className = { commonClassStyles } size = { size } { ...props } >
74
- < ChildContent { ...props } isIconLeft = { isIconLeft } />
74
+ < ChildContent { ...props } size = { size } isIconLeft = { isIconLeft } />
75
75
</ Button >
76
76
)
77
77
}
@@ -83,7 +83,7 @@ const ChildContent = (
83
83
) => {
84
84
const {
85
85
reverseTextOrder = false ,
86
- size = "md" ,
86
+ size,
87
87
mainText,
88
88
helperText,
89
89
icon : Icon ,
You can’t perform that action at this time.
0 commit comments