mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
8675c7863e
* devDeps: pin @babel/core and @babel/runtime in resulotions
Without this: misses patch, lavamoat error
* storybook 6 to 7 migration
* devDeps: add @storybook/addon-mdx-gfm
* fix lint deps
* devDeps: remove unused require-from-string
* devDeps/resolutions: @types/react@^16.9.53
* devDeps: add @storybook/cli
* storybook: new-frameworks migration
* iyarc: remove resolved dependency advisory
* deps: set globalthis@1.0.1 in resolutions
This is required since a file is copied over from a set path in the dist
package subdirectory as of d13aabde23
(#10014).
A future update should either vendor the shim, or update to
compatibility with a maintained upstream version.
* mdx2 migration fixes
* chore: bump ljharb packages
* devDeps: @storybook/*@^7.0.10->^7.0.11
* storybook: update preview.js to use v7 addon api
* ci/test/storybook: echo between storybook build&test
* ci/circleci: resources tweak
* info-tab: handle undefined global.platform
* update lavamoat build policy
* update lavamoat browserify policies
27 lines
1.0 KiB
Plaintext
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` |
|