1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-28 23:06:37 +01:00
metamask-extension/ui/components/app/confirm-gas-display/confirm-legacy-gas-display
David Walsh bab1670432
Restructure CurrencyDisplay to use Design System (#19171)
* Restructure CurrencyDisplay to use Design System

* Add storybook, remove CSS

* Update ui/components/ui/currency-display/currency-display.component.js

Co-authored-by: George Marshall <george.marshall@consensys.net>

* Update ui/components/ui/currency-display/currency-display.component.js

Co-authored-by: George Marshall <george.marshall@consensys.net>

* Update ui/components/ui/currency-display/currency-display.stories.js

Co-authored-by: George Marshall <george.marshall@consensys.net>

* Update ui/components/ui/currency-display/currency-display.component.js

Co-authored-by: George Marshall <george.marshall@consensys.net>

* Update ui/components/ui/currency-display/currency-display.stories.js

Co-authored-by: George Marshall <george.marshall@consensys.net>

* Update ui/components/ui/currency-display/currency-display.stories.js

Co-authored-by: George Marshall <george.marshall@consensys.net>

* Remove deprecated imports, import EtherDenomination

* Update jest

* Use TextVariant: Inherit to keep correct font-size

* Snapshots

* Switch from boxProps to props

---------

Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-07-25 14:32:21 -05:00
..
__snapshots__ Restructure CurrencyDisplay to use Design System (#19171) 2023-07-25 14:32:21 -05:00
confirm-legacy-gas-display.js Update Text import paths: /app (#20083) 2023-07-19 15:32:35 -07: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>