mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-14 18:44:05 +02:00
Co-authored-by: Claude Opus 4.8 <[email protected]> Co-authored-by: James Brunton <[email protected]> Co-authored-by: Reece Browne <[email protected]> Co-authored-by: ConnorYoh <[email protected]> Co-authored-by: Reece <[email protected]> Co-authored-by: EthanHealy01 <[email protected]> Co-authored-by: Ludy <[email protected]>
26 lines
722 B
TypeScript
26 lines
722 B
TypeScript
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
import { ChipFlow } from "@shared/components/ChipFlow";
|
|
|
|
const meta: Meta<typeof ChipFlow> = {
|
|
title: "Primitives/ChipFlow",
|
|
component: ChipFlow,
|
|
tags: ["autodocs"],
|
|
parameters: { layout: "padded" },
|
|
args: {
|
|
items: ["Classify", "Extract", "Name", "Normalize"],
|
|
separator: "arrow",
|
|
tone: "neutral",
|
|
size: "sm",
|
|
},
|
|
argTypes: {
|
|
separator: { control: "inline-radio", options: ["arrow", "none"] },
|
|
},
|
|
};
|
|
export default meta;
|
|
type Story = StoryObj<typeof ChipFlow>;
|
|
|
|
export const Pipeline: Story = { args: { separator: "arrow" } };
|
|
export const Plain: Story = {
|
|
args: { separator: "none", items: ["HIPAA", "GDPR", "SOC 2"] },
|
|
};
|