A Metamask fork with Infura removed and default networks editable
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
ciphermask/ui/pages/unlock-page
David Walsh f05acf8133
BETA - Update logo imagery (#16304)
2 years ago
..
__snapshots__ Continue converting tests from enzyme to @testing-library/react (#16032) 2 years ago
README.mdx Updated all instances of "Component API" to "Props" in storybook documentation (#15324) 2 years ago
index.js remove the ui/app and ui/lib folders (#10911) 4 years ago
index.scss BETA - Update logo imagery (#16304) 2 years ago
unlock-page.component.js BETA - Update logo imagery (#16304) 2 years ago
unlock-page.container.js remove the ui/app and ui/lib folders (#10911) 4 years ago
unlock-page.stories.js Fix unlock-page component for new Storybook format (#12894) 3 years ago
unlock-page.test.js Continue converting tests from enzyme to @testing-library/react (#16032) 2 years ago

README.mdx

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

import UnlockPage from '.';

# Unlock Page

Portal page for user to auth the access of their account

<Canvas>
<Story id="ui-pages-unlock-page-unlock-page-stories-js--default-story" />
</Canvas>

## Props

<!--
ArgsTable doesn't work with SectionShape
<ArgsTable of={MetaMaskTranslation} />
-->

| Name | Description |
| -------------------------- | -------------------------------------------------------------------------- |
| `history` | History router for redirect after action `object` |
| `isUnlocked` | If isUnlocked is true will redirect to most recent route in history `bool` |
| `onRestore` | onClick handler for "Forgot password?" link `func` |
| `onSubmit` | onSumbit handler when form is submitted `func` |
| `forceUpdateMetamaskState` | Force update metamask data state `func` |
| `showOptInModal` | Event handler to show metametrics modal `func` |