1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00
metamask-extension/.storybook
Mark Stacey f886686db2
Extract Menu component from ConnectedAccountsListOptions (#8632)
A `Menu` component has been extracted from the
`ConnectedAccountsListOptions` component. The menu and the menu items
are now the `Menu` and `MenuItem` components respectively.

A custom body was added to the Storybook preview to ensure that the
`popover-content` element was present in the DOM before the Menu was
constructed.
2020-05-20 14:52:23 -03:00
..
main.js Allow changing Storybook preview backgrounds (#8111) 2020-02-26 13:40:53 -04:00
preview-body.html Extract Menu component from ConnectedAccountsListOptions (#8632) 2020-05-20 14:52:23 -03:00
preview.js Use updated I18nProvider in storybook (#8232) 2020-03-24 19:31:47 -04:00
README.md Switch from npm to yarn (#6843) 2019-07-30 15:36:23 -03:00
webpack.config.js Fix Font Awesome in Storybook build (#8304) 2020-04-08 10:22:20 -03: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.