import React from 'react'; import { Meta, Story } from '@storybook/react'; import { Avatar, AvatarProps } from './index'; import { HMSThemeProvider } from '../../hooks/HMSThemeProvider'; const meta: Meta = { title: 'Avatar', component: Avatar, }; const TempIcon = () => { return ( ); }; export default meta; const tempUrl = `https://vercel.com/api/www/avatar/?u=evilrabbit&s=180`; const Basic: Story = args => { return (
); }; const LabelAvatar: Story = args => { return (
); }; export const Default = Basic.bind({}); Basic.args = {}; export const LabelledAvatar = LabelAvatar.bind({}); Basic.args = {};