codex-marketplace-ui-compon.../stories/Tooltip.stories.tsx

24 lines
554 B
TypeScript
Raw Normal View History

2024-08-28 08:03:44 +00:00
import type { Meta, StoryObj } from "@storybook/react";
import { Tooltip } from "../src/components/Tooltip/Tooltip";
import { CheckCircle } from "lucide-react";
const meta = {
title: "Overlays/Tooltip",
component: Tooltip,
parameters: {
layout: "centered",
},
tags: ["autodocs"],
argTypes: {},
} satisfies Meta<typeof Tooltip>;
export default meta;
type Story = StoryObj<typeof meta>;
export const Default: Story = {
args: {
message: "Hello world",
children: <CheckCircle size={"1rem"} className="cell-stateIcon" />,
},
};