21 lines
465 B
TypeScript
21 lines
465 B
TypeScript
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
import { FooterCell } from "../index";
|
|
import { statusItems } from "./story-data";
|
|
|
|
const meta = {
|
|
title: "UI/FooterCell",
|
|
component: FooterCell,
|
|
args: {
|
|
item: statusItems.ok,
|
|
},
|
|
} satisfies Meta<typeof FooterCell>;
|
|
|
|
export default meta;
|
|
type Story = StoryObj<typeof meta>;
|
|
|
|
export const Operational: Story = {};
|
|
export const Linked: Story = {
|
|
args: {
|
|
item: statusItems.action,
|
|
},
|
|
};
|