From b51d9669819d9219ffdd6b46a48b56755b945301 Mon Sep 17 00:00:00 2001 From: Hinton Date: Wed, 28 Sep 2022 12:09:58 +0200 Subject: [PATCH] Prevent avatar component from being instable in storybook --- libs/components/src/avatar/avatar.stories.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libs/components/src/avatar/avatar.stories.ts b/libs/components/src/avatar/avatar.stories.ts index 7fcb883cfeea..724dc5ec0ebd 100644 --- a/libs/components/src/avatar/avatar.stories.ts +++ b/libs/components/src/avatar/avatar.stories.ts @@ -6,6 +6,7 @@ export default { title: "Component Library/Avatar", component: AvatarComponent, args: { + id: undefined, text: "Walt Walterson", size: "default", }, @@ -28,13 +29,11 @@ Default.args = { export const Large = Template.bind({}); Large.args = { - ...Default.args, size: "large", }; export const Small = Template.bind({}); Small.args = { - ...Default.args, size: "small", }; @@ -45,7 +44,6 @@ LightBackground.args = { export const Border = Template.bind({}); Border.args = { - ...Default.args, border: true, };