Skip to content

Commit 9f1b459

Browse files
committed
remove hardcoded width
1 parent da6d307 commit 9f1b459

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/components/ButtonTwoLines/ButtonTwoLines.stories.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export const ButtonTwoLines: Story = {
2020
icon: BiCircle,
2121
mainText: "Main Text",
2222
helperText: "Helper Text",
23+
w: "300px",
2324
},
2425
render: (args) => (
2526
<Stack spacing="8">

src/components/ButtonTwoLines/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ const ButtonTwoLines = (props: ButtonTwoLinesProps) => {
6464
[isIconLeft ? "leftIcon" : "rightIcon"]: <Icon />,
6565
textAlign: isIconLeft ? "start" : "end",
6666
justifyContent: isIconLeft ? "flex-start" : "flex-end",
67-
w: "278px",
6867
}
6968

7069
const Component = hasHref(props) ? ButtonLink : Button

0 commit comments

Comments
 (0)