import type { Meta, StoryObj } from "@storybook/react-vite";
import { TimerModeSelector } from "./TimerModeSelector";

const meta: Meta<typeof TimerModeSelector> = {
  title: "League/TimerModeSelector",
  component: TimerModeSelector,
  parameters: { layout: "padded" },
  args: { onChange: () => {} },
};

export default meta;
type Story = StoryObj<typeof TimerModeSelector>;

export const ChessClockSelected: Story = {
  args: { value: "chess_clock" },
};

export const StandardSelected: Story = {
  args: { value: "standard" },
};

export const Disabled: Story = {
  args: { value: "chess_clock", disabled: true },
};
