mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
Creating story for asset-list
(#19450)
* Creating story for asset-list component * lint fix * lint-fix
This commit is contained in:
parent
7d7d09e469
commit
2b95d7b242
18
ui/components/app/asset-list/asset-list.stories.js
Normal file
18
ui/components/app/asset-list/asset-list.stories.js
Normal 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';
|
Loading…
Reference in New Issue
Block a user