-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Mobile Buttons Row in profile screen
- Loading branch information
1 parent
5536ebe
commit 0bdf163
Showing
7 changed files
with
524 additions
and
522 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
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
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,31 @@ | ||
import { LinkableButton, XStack } from '@my/ui' | ||
import { IconArrowRight } from 'app/components/icons' | ||
|
||
export const SendButton = ({ | ||
identifier, | ||
idType, | ||
}: { identifier: string | number; idType: string }) => ( | ||
<LinkableButton | ||
href={`/send?idType=${idType}&recipient=${identifier}`} | ||
br="$4" | ||
px={'$3.5'} | ||
h={'$4.5'} | ||
w="100%" | ||
miw={150} | ||
theme={'green'} | ||
testID={profileSendButton} | ||
> | ||
<XStack w={'100%'} jc={'center'} ai={'center'} gap={'$2'} h="100%"> | ||
<LinkableButton.Text | ||
fontWeight={'600'} | ||
textTransform={'uppercase'} | ||
$theme-dark={{ col: '$color0' }} | ||
> | ||
SEND | ||
</LinkableButton.Text> | ||
<LinkableButton.Icon> | ||
<IconArrowRight size={'$1'} $theme-dark={{ col: '$color0' }} /> | ||
</LinkableButton.Icon> | ||
</XStack> | ||
</LinkableButton> | ||
) |
Oops, something went wrong.