From 5144482eb315624ce090ae93232157e988f90700 Mon Sep 17 00:00:00 2001 From: Siddharth Kshetrapal Date: Tue, 23 Jul 2024 16:12:00 +0200 Subject: [PATCH] Add alt text to examples --- .../src/Avatar/Avatar.features.stories.tsx | 86 ++++++++++++++----- packages/react/src/Avatar/Avatar.stories.tsx | 1 + 2 files changed, 64 insertions(+), 23 deletions(-) diff --git a/packages/react/src/Avatar/Avatar.features.stories.tsx b/packages/react/src/Avatar/Avatar.features.stories.tsx index 73ddb570319..d9d85814c15 100644 --- a/packages/react/src/Avatar/Avatar.features.stories.tsx +++ b/packages/react/src/Avatar/Avatar.features.stories.tsx @@ -7,36 +7,76 @@ export default { component: Avatar, } as Meta -export const Square = () => +export const Square = () => export const Size = () => (
- - - - - - - - - - - - + + + + + + + + + + + +
) export const SizeResponsive = () => (
- - - - - - - - - - + + + + + + + + + +
) diff --git a/packages/react/src/Avatar/Avatar.stories.tsx b/packages/react/src/Avatar/Avatar.stories.tsx index 0927696bd1b..476c118a998 100644 --- a/packages/react/src/Avatar/Avatar.stories.tsx +++ b/packages/react/src/Avatar/Avatar.stories.tsx @@ -24,6 +24,7 @@ export const Playground: StoryFn = args => { size={parseSizeFromArgs(args)} square={args.square} src="https://avatars.githubusercontent.com/u/92997159?v=4" + alt="mona" /> ) }