mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-15 19:10:47 +02:00
SaaS fixes (#6578)
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]>
This commit is contained in:
co-authored by
Claude Opus 4.8
James Brunton
Reece Browne
ConnorYoh
Reece
EthanHealy01
Ludy
parent
96accea984
commit
ddf78d11ae
@@ -0,0 +1,38 @@
|
||||
import type { Meta, StoryObj } from "@storybook/react-vite";
|
||||
import { DataRow } from "@shared/components/DataRow";
|
||||
import { ChipFlow } from "@shared/components/ChipFlow";
|
||||
import { Card } from "@shared/components/Card";
|
||||
|
||||
const meta: Meta<typeof DataRow> = {
|
||||
title: "Primitives/DataRow",
|
||||
component: DataRow,
|
||||
tags: ["autodocs"],
|
||||
parameters: { layout: "padded" },
|
||||
decorators: [
|
||||
(S) => (
|
||||
<div style={{ maxWidth: "24rem" }}>
|
||||
<S />
|
||||
</div>
|
||||
),
|
||||
],
|
||||
};
|
||||
export default meta;
|
||||
type Story = StoryObj<typeof DataRow>;
|
||||
|
||||
export const Single: Story = {
|
||||
args: { label: "Reviewer", children: "[email protected]" },
|
||||
};
|
||||
|
||||
export const Summary: Story = {
|
||||
render: () => (
|
||||
<Card padding="default">
|
||||
<div style={{ display: "flex", flexDirection: "column", gap: "0.5rem" }}>
|
||||
<DataRow label="Enforces" align="top">
|
||||
<ChipFlow items={["Classify", "Extract", "Name"]} />
|
||||
</DataRow>
|
||||
<DataRow label="Sources">3 selected</DataRow>
|
||||
<DataRow label="Reviewer">matt@stirlingpdf.com</DataRow>
|
||||
</div>
|
||||
</Card>
|
||||
),
|
||||
};
|
||||
Reference in New Issue
Block a user