From 2b95d7b2427755e78572414d1cb5b746fcca49e6 Mon Sep 17 00:00:00 2001 From: Dhruv <79097544+dhruvv173@users.noreply.github.com> Date: Wed, 7 Jun 2023 00:01:18 +0530 Subject: [PATCH] Creating story for `asset-list` (#19450) * Creating story for asset-list component * lint fix * lint-fix --- .../app/asset-list/asset-list.stories.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ui/components/app/asset-list/asset-list.stories.js diff --git a/ui/components/app/asset-list/asset-list.stories.js b/ui/components/app/asset-list/asset-list.stories.js new file mode 100644 index 000000000..0234445f3 --- /dev/null +++ b/ui/components/app/asset-list/asset-list.stories.js @@ -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) => ; + +DefaultStory.storyName = 'Default';