-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(assets): add token details screen (#4266)
### Description [Figma](https://www.figma.com/file/OE6RFzqXAMqU9ygHtNYyof/Assets-Page-(Multichain)?node-id=2099%3A15029&mode=dev) ### Test plan Unit tests, manual by enabling dummy feature flag Showing all actions with swap enabled: https://github.com/valora-inc/wallet/assets/5062591/5041860d-d332-49e2-97cc-8abcaf214e7c Showing actions with swap disabled (withdraw is hidden behind more): https://github.com/valora-inc/wallet/assets/5062591/0d84a6ad-bde8-4a41-8b25-4aa67dac950e ### Related issues - Fixes ACT-915 ### Backwards compatibility Yes
- Loading branch information
1 parent
6c92e6a
commit a3afdd0
Showing
29 changed files
with
1,168 additions
and
37 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
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,15 @@ | ||
import * as React from 'react' | ||
import Svg, { Path } from 'react-native-svg' | ||
import colors from 'src/styles/colors' | ||
|
||
interface Props { | ||
color?: colors | ||
} | ||
|
||
const ArrowRightThick = ({ color = colors.gray3 }: Props) => ( | ||
<Svg width={24} height={24} viewBox="0 0 24 24" fill="none"> | ||
<Path d="M14 18L12.6 16.55L16.15 13H4V11H16.15L12.6 7.45L14 6L20 12L14 18Z" fill={color} /> | ||
</Svg> | ||
) | ||
|
||
export default React.memo(ArrowRightThick) |
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,15 @@ | ||
import * as React from 'react' | ||
import Svg, { Path } from 'react-native-svg' | ||
import colors from 'src/styles/colors' | ||
|
||
interface Props { | ||
color?: colors | ||
} | ||
|
||
const DataDown = ({ color = colors.warning }: Props) => ( | ||
<Svg width={10} height={6} viewBox="0 0 10 6" fill="none"> | ||
<Path d="M5 6L10 -9.53674e-07L4.29138e-07 -7.94466e-08L5 6Z" fill={color} /> | ||
</Svg> | ||
) | ||
|
||
export default React.memo(DataDown) |
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,15 @@ | ||
import * as React from 'react' | ||
import Svg, { Path } from 'react-native-svg' | ||
import colors from 'src/styles/colors' | ||
|
||
interface Props { | ||
color?: colors | ||
} | ||
|
||
const DataUp = ({ color = colors.greenUI }: Props) => ( | ||
<Svg width={10} height={6} viewBox="0 0 10 6" fill="none"> | ||
<Path d="M5 0L0 6H10L5 0Z" fill={color} /> | ||
</Svg> | ||
) | ||
|
||
export default React.memo(DataUp) |
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,19 @@ | ||
import * as React from 'react' | ||
import Svg, { Path } from 'react-native-svg' | ||
import Colors from 'src/styles/colors' | ||
|
||
interface Props { | ||
color: Colors | ||
} | ||
|
||
const QuickActionsMore = ({ color }: Props) => ( | ||
<Svg width={25} height={24} viewBox="0 0 25 24" fill="none"> | ||
<Path | ||
d="M4.83325 12C4.83325 11.1761 5.50939 10.5 6.33325 10.5C7.15711 10.5 7.83325 11.1761 7.83325 12C7.83325 12.8239 7.15711 13.5 6.33325 13.5C5.50939 13.5 4.83325 12.8239 4.83325 12ZM16.8333 12C16.8333 11.1761 17.5094 10.5 18.3333 10.5C19.1571 10.5 19.8333 11.1761 19.8333 12C19.8333 12.8239 19.1571 13.5 18.3333 13.5C17.5094 13.5 16.8333 12.8239 16.8333 12ZM10.8333 12C10.8333 11.1761 11.5094 10.5 12.3333 10.5C13.1571 10.5 13.8333 11.1761 13.8333 12C13.8333 12.8239 13.1571 13.5 12.3333 13.5C11.5094 13.5 10.8333 12.8239 10.8333 12Z" | ||
fill={color} | ||
stroke={color} | ||
/> | ||
</Svg> | ||
) | ||
|
||
export default React.memo(QuickActionsMore) |
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
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
Oops, something went wrong.