mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
2b95d7b242
* Creating story for asset-list component * lint fix * lint-fix
19 lines
364 B
JavaScript
19 lines
364 B
JavaScript
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';
|