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

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

export const Default: Story = { args: { text: "Tip: You can use keyboard shortcuts to navigate faster." } };
export const Success: Story = { args: { text: "Your changes have been saved.", mood: "success", icon: "✓" } };
export const Warning: Story = { args: { text: "This action cannot be undone.", mood: "warning", icon: "⚠" } };
export const Danger: Story = { args: { text: "You are about to delete 3 records.", mood: "danger", icon: "✕" } };
