<script module>
  import { defineMeta } from "@storybook/addon-svelte-csf";
  import { Mic } from "lucide-svelte";
  import IconButton from "./IconButton.svelte";

  const { Story } = defineMeta({
    title: "Components/IconButton",
    component: IconButton,
    argTypes: {
      type: { control: "select", options: ["button", "submit", "reset"] },
      disabled: { control: "boolean" },
      "aria-label": { control: "text" },
    },
  });
</script>

<Story name="IconButton" args={{ type: "button", disabled: false, "aria-label": "Microphone" }}>
  <Mic size={18} />
</Story>
