import React from 'react';
import { AvatarAccount } from '../avatar-account';
import { TYPES } from '../avatar-account/avatar-account.constants';
import { AvatarNetwork } from '../avatar-network';
import Box from '../../ui/box/box';
import {
ALIGN_ITEMS,
DISPLAY,
SIZES,
} from '../../../helpers/constants/design-system';
import { BADGE_POSITIONS } from './avatar-with-badge.constants';
import README from './README.mdx';
import { AvatarWithBadge } from './avatar-with-badge';
export default {
title: 'Components/ComponentLibrary/AvatarWithBadge',
id: __filename,
component: AvatarWithBadge,
parameters: {
docs: {
page: README,
},
},
argTypes: {
badgePosition: {
options: Object.values(BADGE_POSITIONS),
control: 'select',
},
},
args: {
badgePosition: BADGE_POSITIONS.top,
},
};
export const DefaultStory = (args) => (
}
{...args}
>
);
DefaultStory.storyName = 'Default';
export const BadgePosition = () => (
}
>
}
>
);