Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

feat: add wallet card component #2076

Merged
merged 4 commits into from
Jun 10, 2020
Merged

Conversation

goga-m
Copy link
Contributor

@goga-m goga-m commented Jun 9, 2020

Summary

Add Wallet Card component.
Displays wallet as cards. Seen in dashboard page.

Usage:

<WalletCard
    coinIcon="eth"
    coinIconClass="border-theme-neutral-800"
    avatarId="test"
    walletName="Primary"
    address="ASuusXSW9kfWnicScSgUTjttP6T9GQ3kqT"
    balance="100,000 ETH"
    actions={[
        { label: "Action 1", value: "1" },
        { label: "Action 1", value: "1" },
    ]}
    onSelect={(selected: any) => console.log(selected)}
/>


2020-06-09-203819_590x244_scrot

Checklist

  • Documentation (if necessary)
  • Tests (if necessary)
  • Ready to be merged

@goga-m goga-m requested a review from faustbrian as a code owner June 9, 2020 17:41
@ghost ghost added the Complexity: High More than 256 lines changed. label Jun 9, 2020
@codecov
Copy link

codecov bot commented Jun 9, 2020

Codecov Report

Merging #2076 into 3.0-react will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           3.0-react     #2076   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
===========================================
  Files             45        46    +1     
  Lines            298       306    +8     
  Branches          49        51    +2     
===========================================
+ Hits             298       306    +8     
Impacted Files Coverage Δ
src/app/components/Dropdown/Dropdown.tsx 100.00% <ø> (ø)
src/app/components/Address/Address.tsx 100.00% <100.00%> (ø)
src/app/components/Address/utils.ts 100.00% <100.00%> (ø)
src/app/components/WalletCard/WalletCard.tsx 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0bb558f...6bf37d3. Read the comment docs.

@goga-m goga-m marked this pull request as draft June 9, 2020 17:52
@clucasalcantara clucasalcantara changed the title Feat/component wallet card feat: add wallet card component Jun 9, 2020
@goga-m goga-m marked this pull request as ready for review June 9, 2020 17:54
@faustbrian faustbrian merged commit 8a71be6 into 3.0-react Jun 10, 2020
@ghost ghost deleted the feat/component-wallet-card branch June 10, 2020 01:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Complexity: High More than 256 lines changed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants