1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

unlock-page (#11955)

This commit is contained in:
Etienne Dusseault 2021-08-30 18:02:23 -05:00 committed by GitHub
parent 9f10fe8c97
commit 4426104fc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,20 @@
import React from 'react';
import { action } from '@storybook/addon-actions';
import UnlockPage from './unlock-page.component';
export default {
title: 'UnlockPage',
};
export const UnlockPageComponent = () => {
return (
<UnlockPage
onSubmit={action('Login')}
forceUpdateMetamaskState={() => ({
participateInMetaMetrics: true,
})}
showOptInModal={() => null}
history={{}}
/>
);
};