1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 23:58:06 +01:00
metamask-extension/.storybook
Etienne Dusseault 46c4cc1966
Add confirm-add-suggested-token & confirm-add-token components to Storybook (#11175)
* add suggessted token

* lintfix

* lintfix

* silence use effect warning

* download token icons and use paths to avoid web urls

* lintifx

* Add confirm-add-token component to Storyboard (#11195)

* create story for add token

* change code

* add confirm add token story

* lintfix

* Update confirm-add-token.component.js

* Update confirm-add-token.component.js

* different token list for confirm add token

* lintfix

* Update confirm-add-suggested-token.component.js

* remove bnb png

* remove redundant images and fix storybook image path
2021-08-17 00:33:46 -05:00
..
i18n-party-addon
images
initial-states/approval-screens Add confirm-add-suggested-token & confirm-add-token components to Storybook (#11175) 2021-08-17 00:33:46 -05:00
i18n.js
locales.js
main.js
metametrics.js
preview-body.html
preview.js
README.md
test-data.js Add confirm-token-transaction-base component to Storybook (#11414) 2021-08-17 00:33:32 -05:00

Storybook

We're currently using Storybook as part of our design system. To run Storybook and test some of our UI components, clone the repo and run the following:

yarn
yarn storybook

You should then see:

info Storybook started on => http://localhost:6006/

In your browser, navigate to http://localhost:6006/ to see the Storybook application. From here, you'll be able to easily view components and even modify some of their properties.