mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 21:47:20 +00:00
21 lines
483 B
TypeScript
21 lines
483 B
TypeScript
import { Meta, StoryObj } from "@storybook/react";
|
|
|
|
import StatusIndicatorWithIcon from "./StatusIndicatorWithIcon";
|
|
|
|
const meta: Meta<typeof StatusIndicatorWithIcon> = {
|
|
title: "Components/StatusIndicatorWithIcon",
|
|
component: StatusIndicatorWithIcon,
|
|
args: {
|
|
status: "success",
|
|
value: "Yes",
|
|
tooltip: {
|
|
tooltipText: "Tooltip text",
|
|
},
|
|
},
|
|
};
|
|
|
|
export default meta;
|
|
|
|
type Story = StoryObj<typeof StatusIndicatorWithIcon>;
|
|
|
|
export const Basic: Story = {};
|