Skip to content

Commit

Permalink
chore(stand): replace avatar to user-label for interactive user card
Browse files Browse the repository at this point in the history
  • Loading branch information
v4dyar4 committed Mar 8, 2024
1 parent b1b4e96 commit c58976b
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Avatar, Flex} from '@gravity-ui/uikit';
import {Flex, UserLabel} from '@gravity-ui/uikit';
import React from 'react';

import avatar1Asset from '../../../../assets/avatar-1.png';
Expand All @@ -10,10 +10,10 @@ export const UserLabelCard = () => {
return (
<InteractiveCard>
<Flex direction="column" space={2}>
<Avatar text="Work Harder" imgUrl={avatar1Asset.src} />
<Avatar text="Make Better" imgUrl={avatar2Asset.src} />
<Avatar text="Do Faster" imgUrl={avatar3Asset.src} />
<Avatar text="Makes Stronger" imgUrl={avatar1Asset.src} />
<UserLabel avatar={avatar1Asset.src} children="Work Harder" />
<UserLabel avatar={avatar2Asset.src} children="Make Better" />
<UserLabel avatar={avatar3Asset.src} children="Do Faster" />
<UserLabel avatar={avatar1Asset.src} children="Makes Stronger" />
</Flex>
</InteractiveCard>
);
Expand Down

0 comments on commit c58976b

Please sign in to comment.