import React from 'react'; import { HangUpIcon, MicOnIcon, MicOffIcon, CloseIcon } from '../Icons'; import { Meta, Story } from '@storybook/react'; import { Button, ButtonProps } from './index'; import { HMSThemeProvider } from '../../hooks/HMSThemeProvider'; import './ButtonStory.css'; const meta: Meta = { title: 'Button', component: Button, }; export default meta; const Leave: Story = args => { return (
); }; const MicWithDangerActive: Story = args => { const { classes, ...argsWithoutClasses } = args; return (
); }; const DarkMic: Story = args => { return (
); }; const LightMic: Story = args => { return (
); }; const Close: Story = args => { return (
); }; const Join: Story = args => { return (
); }; export const Default = Leave.bind({}); Default.args = { variant: 'danger', }; export const LightMicStory = LightMic.bind({}); LightMicStory.args = { variant: 'icon-only', shape: 'circle', }; export const MicWithDangerActiveStory = MicWithDangerActive.bind({}); MicWithDangerActiveStory.args = { variant: 'danger', shape: 'circle', }; export const DarkMicStory = DarkMic.bind({}); DarkMicStory.args = { variant: 'icon-only', shape: 'circle', }; export const CloseStory = Close.bind({}); CloseStory.args = { variant: 'no-fill', }; export const JoinStory = Join.bind({}); JoinStory.args = { variant: 'emphasized', };