mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-29 15:50:28 +01:00
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';
|