import React from 'react'; import { Meta, Story } from '@storybook/react'; import { ControlBarProps, ControlBar } from './index'; import { HMSThemeProvider } from '../../hooks/HMSThemeProvider'; const meta: Meta = { title: 'ControlBar', component: ControlBar, parameters: { actions: { argTypesRegex: '.*OnClick' } }, }; export default meta; const Template: Story = args => { return (
); }; const LightTemplate: Story = args => { return (
); }; const defaultArgs = { isAudioMuted: true, isVideoMuted: true, isChatOpen: true, }; export const Default = Template.bind({}); Default.args = defaultArgs; export const LightControlBar = LightTemplate.bind({}); LightControlBar.args = defaultArgs;