1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui
Mark Stacey 8b1230acab
Add ShowHideToggle component (#13979)
Add a new component for controlling whether a field should be shown
or hidden. This will be used in later PRs as a control for sensitive
fields that are hidden by default.

This component should be fully accessible. Both mouse and keyboard
interactions have been tested, and `aria-label` attributes have been
added to explain the two "eye" icons that don't have any corresponding
text.

Thorough unit tests have been written, testing all props except
`className` (I don't know how to test that using Jest/`jsdom`).
2022-03-17 08:41:50 -02:30
..
__mocks__
components Add ShowHideToggle component (#13979) 2022-03-17 08:41:50 -02:30
contexts add asset_type to transactions (#13858) 2022-03-16 17:15:03 -05:00
css
ducks add asset_type to transactions (#13858) 2022-03-16 17:15:03 -05:00
helpers add asset_type to transactions (#13858) 2022-03-16 17:15:03 -05:00
hooks
pages Dark Mode: Fix Onboarding image text color (#13983) 2022-03-16 17:22:13 -05:00
selectors
store
index.js