1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00
metamask-extension/.storybook
Etienne Dusseault 09e79f273a
fix state problems with Storybook (#11984)
* fix state problems with Storybook

* lint

* lint

* Cleanup

Co-authored-by: ryanml <ryanlanese@gmail.com>
2021-09-07 13:51:41 -10:00
..
i18n-party-addon storybook/i18n - add i18n party button (#10382) 2021-02-08 23:45:06 +08:00
images Add connected-sites component to Storybook (#11415) 2021-08-30 12:56:03 -10:00
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 remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
locales.js storybook - i18n toolbar (#10381) 2021-02-06 10:28:54 +08:00
main.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
metametrics.js Add Approval Confirmation Screen component to Storybook (#10998) 2021-05-25 08:20:09 +08:00
preview-body.html Extract Menu component from ConnectedAccountsListOptions (#8632) 2020-05-20 14:52:23 -03:00
preview.js fix state problems with Storybook (#11984) 2021-09-07 13:51:41 -10:00
README.md Switch from npm to yarn (#6843) 2019-07-30 15:36:23 -03:00
test-data.js fix state problems with Storybook (#11984) 2021-09-07 13:51:41 -10: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.