1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-27 12:56:01 +01:00
metamask-extension/ui/components/app/confirm-gas-display/confirm-legacy-gas-display
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
..
__snapshots__ New reusable gas-display component (#17976) 2023-04-17 10:34:26 -04:00
confirm-legacy-gas-display.js Transaction cleanup and fix TransactionDetailItem key not unique bug (#18899) 2023-05-02 00:42:59 -03:00
confirm-legacy-gas-display.stories.js New reusable gas-display component (#17976) 2023-04-17 10:34:26 -04:00
confirm-legacy-gas-display.test.js Rename provider to providerConfig (#18907) 2023-05-02 13:23:20 -02:30
index.js New reusable gas-display component (#17976) 2023-04-17 10:34:26 -04:00
README.mdx New reusable gas-display component (#17976) 2023-04-17 10:34:26 -04:00

import { Story, Canvas, ArgsTable } from '@storybook/addon-docs';
import { ConfirmLegacyGasDisplay } from '.';

# Confirm Legacy Gas Display
Confirm Legacy Gas Display is used on confirmation screen and send screen to display gas details for legacy transaction.

<Canvas>
  <Story id="components-app-ConfirmLegacyGasDisplay--default-story" />
</Canvas>