1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/ui/pages/unlock-page/README.mdx
David Walsh 6cc46454c2
UX: Remove legacy metametrics modal (#17817)
* UX: Remove legacy metametrics modal

* Remove old localizations

* Remove dead image
2023-02-23 13:58:09 -06:00

27 lines
1.0 KiB
Plaintext

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="pages-unlockpage--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` |