From ce011477bc6f77a4873012e0f3d5f745cc9cc99f Mon Sep 17 00:00:00 2001 From: georgewrmarshall Date: Wed, 26 Jul 2023 13:47:11 -0700 Subject: [PATCH] Small update to allow storybook iconName control to work --- .../component-library/avatar-icon/avatar-icon.stories.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ui/components/component-library/avatar-icon/avatar-icon.stories.tsx b/ui/components/component-library/avatar-icon/avatar-icon.stories.tsx index 65ce9800a2e6..bcd97d8ccee8 100644 --- a/ui/components/component-library/avatar-icon/avatar-icon.stories.tsx +++ b/ui/components/component-library/avatar-icon/avatar-icon.stories.tsx @@ -46,11 +46,12 @@ export default { }, args: { size: AvatarIconSize.Md, + iconName: IconName.SwapHorizontal, }, } as Meta; const Template: StoryFn = (args) => { - return ; + return ; }; export const DefaultStory = Template.bind({}); @@ -67,10 +68,6 @@ export const SizeStory: StoryFn = (args) => ( ); SizeStory.storyName = 'Size'; -SizeStory.args = { - iconName: IconName.Confirmation, -}; - export const IconNameStory: StoryFn = (args) => (