// Copyright 2024, 2025 New Vector Ltd.
// Copyright 2022-2024 The Matrix.org Foundation C.I.C.
//
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
// Please see LICENSE files in the repository root for full details.

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

import DeviceTypeIcon from "./DeviceTypeIcon";

const meta = {
  title: "UI/Session/Device Type Icon",
  component: DeviceTypeIcon,
  tags: ["autodocs"],
  args: {
    deviceType: "UNKNOWN",
  },
  argTypes: {
    deviceType: {
      control: "select",
      options: ["UNKNOWN", "PC", "MOBILE", "TABLET"],
    },
  },
} satisfies Meta<typeof DeviceTypeIcon>;

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

export const Unknown: Story = {};

export const Pc: Story = {
  args: {
    deviceType: "PC",
  },
};
export const Mobile: Story = {
  args: {
    deviceType: "MOBILE",
  },
};
export const Tablet: Story = {
  args: {
    deviceType: "TABLET",
  },
};
