Skip to content

Commit

Permalink
refactor: update stories
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Jan 24, 2024
1 parent da5e690 commit 6d05da2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion packages/blade/src/components/Amount/Amount.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ export default {
} as Meta<AmountProps>;

const AmountDefaultTemplate: StoryFn<typeof AmountComponent> = (args) => {
return <AmountComponent {...args} />;
return (
<BaseBox display="flex" flexDirection="row" flexWrap="wrap">
<AmountComponent {...args} />
</BaseBox>
);
};

export const Amount = AmountDefaultTemplate.bind({});
Expand Down
1 change: 0 additions & 1 deletion packages/blade/src/components/Amount/Amount.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,6 @@ const _Amount = ({
weight={weight}
size={size}
isAffixSubtle={isAffixSubtle}
isStrikethrough={isStrikethrough}
suffix={suffix}
/>
{currencyPosition === 'right' && (
Expand Down

0 comments on commit 6d05da2

Please sign in to comment.