1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/.storybook
Mark Stacey d1cea85f33
Rename provider to providerConfig (#18907)
* Rename `provider` to `providerConfig`

The network controller `provider` state has been renamed to
 `providerConfig`. This better reflects what this state is, and makes
this controller more closely aligned with the core network controller.

All references to the provider configuration have been updated to
prefer `providerConfig` over `provider`, to make the distinction clear
between a provider and provider config.

Closes #18902

* Add migration
2023-05-02 13:23:20 -02:30
..
actions
i18n-party-addon
images
initial-states
reducers
1.INTRODUCTION.stories.mdx
2.DOCUMENTATION.stories.mdx
3.COLORS.stories.mdx
4.SHADOW.stories.mdx
5.BREAKPOINTS.stories.mdx
i18n.js
locales.js
main.js
manager.js
metamask-storybook-theme.js
metametrics.js
preview-body.html
preview-head.html
preview.js
README.md
test-data.js Rename provider to providerConfig (#18907) 2023-05-02 13:23:20 -02:30

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.