peakshift/wallet-ui

Move 3 components to wallet-library and use in demo as an import

Opened this issue · 3 comments

Estimate: 3h
Scenario: Break up demo-0 components and import wallet-library
  Given we have a mono-repo
  And the folder "demo-0" is a react-native app
  When I open "wallet-library/index.js"
  Then I see the components "Buttons"
  And I see "Badge" # transfer price
  And I see "Payment - List Item" # transfer list item
  And in "demo-0" I can see it imports '.../wallet-library'

Scenario: Display wallet library in a storybook
  Given I am in "wallet-library"
  When I run storybook-js
  Then I see "Buttons"
  And I see "Pill" # transfer price
  And I see "Payment - List Item" # transfer list item

@johnsBeharry the estimate for this would be 2-3 hours. @Valka7a (Valentin) is starting work now.

nice! I forgot to include details about styled components too -- @Valka7a if there's time please migrate the stylesheets to styled-components I fogot to spec it out.

@fre2ak going forward I'd like to keep a full issue list here for things relating to the project and have you update the descriptions with the estimates.