Skip to content

Commit

Permalink
feat: Add SkipButton component to App.tsx and TransactionButton.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-vahn committed May 22, 2024
1 parent acd7fa7 commit 86ab960
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/components/buttons/TransactionButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@ const TransactionButton: React.FC<Props> = ({ text, icon, callback }) => {
return (
<div
onClick={callback}
className="flex flex-col justify-center text-center gap-1"
className="flex flex-col w-full justify-center text-center gap-1"
>
<div>
<div className="flex justify-center">
<img src={icon} alt="" />
</div>
<p className="my-0 mx-auto text-customBlueButton font-semibold">
{text}
</p>
<div className="text-center">
<p className="my-0 mx-auto text-customBlueButton font-semibold">
{text}
</p>
</div>
</div>
);
};
Expand Down

0 comments on commit 86ab960

Please sign in to comment.