veza/apps/web/src/features/chat/components/ActiveCallBar.stories.tsx

28 lines
509 B
TypeScript
Raw Normal View History

2026-02-22 02:46:10 +00:00
import type { Meta, StoryObj } from '@storybook/react';
import { ActiveCallBar } from './ActiveCallBar';
const meta: Meta<typeof ActiveCallBar> = {
component: ActiveCallBar,
tags: ['autodocs'],
};
export default meta;
type Story = StoryObj<typeof ActiveCallBar>;
export const Default: Story = {
args: {
remoteUserName: 'Bob',
isMuted: false,
onToggleMute: () => {},
onHangup: () => {},
},
};
export const Muted: Story = {
args: {
...Default.args,
isMuted: true,
},
};