mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
* sda * sad * replacing depricated constants --------- Co-authored-by: Garrett Bear <gwhisten@gmail.com>
This commit is contained in:
parent
d5dd4fa881
commit
2a227c4646
@ -7,7 +7,7 @@ import { IconName, Icon } from '../icon';
|
||||
import {
|
||||
BorderColor,
|
||||
Size,
|
||||
DISPLAY,
|
||||
Display,
|
||||
AlignItems,
|
||||
JustifyContent,
|
||||
IconColor,
|
||||
@ -33,7 +33,7 @@ export const AvatarFavicon = React.forwardRef(
|
||||
<AvatarBase
|
||||
ref={ref}
|
||||
size={size}
|
||||
display={DISPLAY.FLEX}
|
||||
display={Display.Flex}
|
||||
alignItems={AlignItems.center}
|
||||
justifyContent={JustifyContent.center}
|
||||
className={classnames('mm-avatar-favicon', className)}
|
||||
|
@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import {
|
||||
DISPLAY,
|
||||
Display,
|
||||
AlignItems,
|
||||
BorderColor,
|
||||
Size,
|
||||
@ -51,7 +51,7 @@ export const DefaultStory = Template.bind({});
|
||||
DefaultStory.storyName = 'Default';
|
||||
|
||||
export const SizeStory = (args) => (
|
||||
<Box display={DISPLAY.FLEX} alignItems={AlignItems.baseline} gap={1}>
|
||||
<Box display={Display.Flex} alignItems={AlignItems.baseline} gap={1}>
|
||||
<AvatarFavicon {...args} size={Size.XS} />
|
||||
<AvatarFavicon {...args} size={Size.SM} />
|
||||
<AvatarFavicon {...args} size={Size.MD} />
|
||||
@ -62,7 +62,7 @@ export const SizeStory = (args) => (
|
||||
SizeStory.storyName = 'Size';
|
||||
|
||||
export const Src = (args) => (
|
||||
<Box display={DISPLAY.FLEX} alignItems={AlignItems.flexStart} gap={1}>
|
||||
<Box display={Display.Flex} alignItems={AlignItems.flexStart} gap={1}>
|
||||
<AvatarFavicon {...args} src="https://uniswap.org/favicon.ico" />
|
||||
<AvatarFavicon
|
||||
{...args}
|
||||
|
Loading…
Reference in New Issue
Block a user