import type { Meta, StoryObj } from '@storybook/react';
import { IncomingCallModal } from './IncomingCallModal';

const meta: Meta<typeof IncomingCallModal> = {
  component: IncomingCallModal,
  tags: ['autodocs'],
};

export default meta;

type Story = StoryObj<typeof IncomingCallModal>;

export const Default: Story = {
  args: {
    open: true,
    callerName: 'Alice',
    onAccept: () => {},
    onReject: () => {},
  },
};

export const Closed: Story = {
  args: {
    ...Default.args,
    open: false,
  },
};
