Skip to content

Commit

Permalink
Creating story for asset-list (#19450)
Browse files Browse the repository at this point in the history
* Creating story for asset-list component

* lint fix

* lint-fix
  • Loading branch information
dhruvv173 authored Jun 6, 2023
1 parent 7d7d09e commit 2b95d7b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions ui/components/app/asset-list/asset-list.stories.js
Original file line number Diff line number Diff line change
@@ -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';

0 comments on commit 2b95d7b

Please sign in to comment.