mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
29 lines
608 B
TypeScript
29 lines
608 B
TypeScript
|
|
import { Meta, StoryObj } from "@storybook/react";
|
||
|
|
|
||
|
|
import SetupScriptStatusCell from "./SetupScriptStatusCell";
|
||
|
|
|
||
|
|
const meta: Meta<typeof SetupScriptStatusCell> = {
|
||
|
|
title: "Components/TableContainer/SetupScriptStatusCell",
|
||
|
|
component: SetupScriptStatusCell,
|
||
|
|
};
|
||
|
|
|
||
|
|
export default meta;
|
||
|
|
|
||
|
|
type Story = StoryObj<typeof SetupScriptStatusCell>;
|
||
|
|
|
||
|
|
export const Pending: Story = {
|
||
|
|
args: { status: "pending" },
|
||
|
|
};
|
||
|
|
|
||
|
|
export const Running: Story = {
|
||
|
|
args: { status: "running" },
|
||
|
|
};
|
||
|
|
|
||
|
|
export const Success: Story = {
|
||
|
|
args: { status: "success" },
|
||
|
|
};
|
||
|
|
|
||
|
|
export const Failure: Story = {
|
||
|
|
args: { status: "failure" },
|
||
|
|
};
|