1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-01 21:57:06 +01:00
metamask-extension/ui/components/app/asset-list/asset-list.stories.js
Dhruv 2b95d7b242
Creating story for asset-list (#19450)
* Creating story for asset-list component

* lint fix

* lint-fix
2023-06-06 11:31:18 -07:00

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';