mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 12:29:06 +01:00
bab1670432
* 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> |
||
---|---|---|
.. | ||
__snapshots__ | ||
confirm-legacy-gas-display.js | ||
confirm-legacy-gas-display.stories.js | ||
confirm-legacy-gas-display.test.js | ||
index.js | ||
README.mdx |
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>