From 3ec2c189b0998fc81f2804bf0730e2be0b277ea1 Mon Sep 17 00:00:00 2001 From: rohit kerkar <129620973+rohiiittttt@users.noreply.github.com> Date: Mon, 5 Jun 2023 21:13:23 +0530 Subject: [PATCH] Part of #18714: Replacing deprecated constants in `Avatar-Base` folder (#19408) Co-authored-by: George Marshall Co-authored-by: Brad Decker --- .../avatar-base/avatar-base.stories.tsx | 10 +++++----- .../component-library/avatar-base/avatar-base.tsx | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ui/components/component-library/avatar-base/avatar-base.stories.tsx b/ui/components/component-library/avatar-base/avatar-base.stories.tsx index 85852edde464..c7298892211c 100644 --- a/ui/components/component-library/avatar-base/avatar-base.stories.tsx +++ b/ui/components/component-library/avatar-base/avatar-base.stories.tsx @@ -2,7 +2,7 @@ import { ComponentMeta } from '@storybook/react'; import React from 'react'; import { AlignItems, - DISPLAY, + Display, TextColor, BackgroundColor, BorderColor, @@ -60,7 +60,7 @@ export default { control: 'select', }, display: { - options: Object.values(DISPLAY), + options: Object.values(Display), control: 'select', table: { category: 'box props' }, }, @@ -99,7 +99,7 @@ export const DefaultStory = (args: AvatarBaseProps) => ; DefaultStory.storyName = 'Default'; export const Size = (args: AvatarBaseProps) => ( - + @@ -109,7 +109,7 @@ export const Size = (args: AvatarBaseProps) => ( ); export const Children = (args: AvatarBaseProps) => ( - + @@ -131,7 +131,7 @@ export const Children = (args: AvatarBaseProps) => ( ); export const ColorBackgroundColorAndBorderColor = (args: AvatarBaseProps) => ( - + B