1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00

Creating story for asset-list (#19450)

* Creating story for asset-list component

* lint fix

* lint-fix
This commit is contained in:
Dhruv 2023-06-07 00:01:18 +05:30 committed by GitHub
parent 7d7d09e469
commit 2b95d7b242
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,18 @@
import React from 'react';
import AssetList from '.';
export default {
title: 'Components/App/AssetList',
argTypes: {
onClickAsset: {
control: 'onClickAsset',
},
},
args: {
onClickAsset: () => console.log('onClickAsset fired'),
},
};
export const DefaultStory = (args) => <AssetList {...args} />;
DefaultStory.storyName = 'Default';