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

Add new-account component to Storybook (#11638)

* add action

* lintfix
This commit is contained in:
Etienne Dusseault 2021-08-30 17:57:39 -05:00 committed by GitHub
parent 7d0d6013af
commit 2ca7f066e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,11 @@
import React from 'react';
import { action } from '@storybook/addon-actions';
import NewAccountCreateForm from './new-account.component';
export default {
title: 'New Account',
};
export const NewAccountComponent = () => {
return <NewAccountCreateForm createAccount={action('Account Created')} />;
};