import type { Meta, StoryObj } from "@storybook/preact";
import { EmptyState } from "./EmptyState";

const meta: Meta<typeof EmptyState> = { title: "Primitives/EmptyState", component: EmptyState };
export default meta;
type Story = StoryObj<typeof EmptyState>;

export const Default: Story = {
  args: { title: "No clients yet", description: "Add your first client to start tracking.", action: "+ Add Client", onAction: () => alert("add") },
};
export const NoAction: Story = { args: { icon: "🔍", title: 'No results for "test"' } };
export const CustomIcon: Story = { args: { icon: "🤝", title: "No deals yet", action: "+ New Deal" } };
