Skip to content

Commit 81da546

Browse files
fix(ButtonTwoLines): send size to createSplitProps
1 parent 70ea4cb commit 81da546

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/ui/buttons/ButtonTwoLines.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export const ButtonTwoLines = ({
5050
const isIconLeft = ["left", "start"].includes(iconAlignment)
5151

5252
const [childProps, ownProps] = createSplitProps<ButtonTwoLinesProps>()(
53-
{ ...props, isIconLeft },
53+
{ ...props, isIconLeft, size },
5454
[
5555
"reverseTextOrder",
5656
"mainText",
@@ -91,7 +91,7 @@ export const ButtonLinkTwoLines = ({
9191
const isIconLeft = ["left", "start"].includes(iconAlignment)
9292

9393
const [childProps, ownProps] = createSplitProps<ButtonLinkTwoLinesProps>()(
94-
{ ...props, isIconLeft },
94+
{ ...props, isIconLeft, size },
9595
[
9696
"reverseTextOrder",
9797
"mainText",

0 commit comments

Comments
 (0)