-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: refactor receive modal to share code better
- Loading branch information
1 parent
efa14d0
commit 77d8704
Showing
15 changed files
with
144 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import BitcoinStampImg from '@assets/images/bitcoin-stamp.png'; | ||
import { Box } from '@stacks/ui'; | ||
|
||
export function BtcStampsIcon() { | ||
return <Box as="img" src={BitcoinStampImg} width="36px" />; | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { ButtonProps, Stack } from '@stacks/ui'; | ||
|
||
import { Caption } from '@app/components//typography'; | ||
|
||
interface ReceiveItemListProps extends ButtonProps { | ||
children: React.ReactNode; | ||
title?: string; | ||
} | ||
export function ReceiveItemList({ children, title }: ReceiveItemListProps) { | ||
return ( | ||
<> | ||
{title && <Caption>{title}</Caption>} | ||
<Stack spacing="loose" mt="base" mb="extra-loose"> | ||
{children} | ||
</Stack> | ||
</> | ||
); | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
18 changes: 0 additions & 18 deletions
18
src/app/pages/receive/receive-collectible/receive-collectible-modal.tsx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.