1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/ui
Jurriaan Den Toonder 1521e63913
Change over FeeCard stories to use controls instead of knobs, update props in stories (#13766)
This PR changes over the deprecated knobs and actions in `fee-card.stories.js` to controls.
I attempted to create a `README.mdx`, but unfortunately the `<ArgsTable of={FeeCard} />` refused to render out any of the documentation comments I added to the `FeeCard.propTypes`, thus that has not been included (and no documentation has been added to the propTypes of FeeCard).

_Please note:_ currently nested arg types are not possible in StoryBook, but discussions are open: https://github.com/storybookjs/storybook/issues/11486. This means that the StoryBook shows `primaryFee`, `primaryMaxFee`, `secondaryFee` and `secondaryMaxFee`, but these are mapped to the 2 `primaryFee` and `secondaryFee` props of the component. This is visible if the developer clicks on the `Show code` button at the docs page in StoryBook.

Signed-off-by: Jurriaan Den Toonder <1493561+Fastjur@users.noreply.github.com>
2022-03-29 16:13:00 -06:00
..
__mocks__ Deprecate extensionizer for webextension-polyfill (#13960) 2022-03-18 14:07:05 -05:00
components Update What's new screen with Token Detection information (#14124) 2022-03-29 17:41:58 -04:00
contexts Remove the useSegmentContext function from metametrics.new.js (#14013) 2022-03-25 09:26:09 -05:00
css Dark Mode: Remove last unused colors (#14208) 2022-03-25 14:30:36 -05:00
ducks Improvements for multi-layer fee UX (#13547) 2022-03-29 16:51:45 -02:30
helpers Add 'Enhanced Gas UI' setting to search index (#14206) 2022-03-28 07:50:32 -07:00
hooks Improvements for multi-layer fee UX (#13547) 2022-03-29 16:51:45 -02:30
pages Change over FeeCard stories to use controls instead of knobs, update props in stories (#13766) 2022-03-29 16:13:00 -06:00
selectors Update What's new screen with Token Detection information (#14124) 2022-03-29 17:41:58 -04:00
store update gas fees (#13646) 2022-03-25 21:11:04 +04:00
index.js ui/index: fix getPlatformInfo w/ polyfill (#14171) 2022-03-25 07:24:27 -02:30