Skip to content

Commit 7648fb6

Browse files
committed
fix: format
1 parent fc8d8b5 commit 7648fb6

File tree

1 file changed

+40
-36
lines changed

1 file changed

+40
-36
lines changed

site/src/components/TagInput/TagInput.stories.tsx

Lines changed: 40 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -2,55 +2,59 @@ import type { Meta, StoryObj } from "@storybook/react";
22
import { TagInput } from "./TagInput";
33

44
const meta: Meta<typeof TagInput> = {
5-
title: "components/TagInput",
6-
component: TagInput,
7-
decorators: [(Story) => <div style={{ maxWidth: "500px" }}>{Story()}</div>],
5+
title: "components/TagInput",
6+
component: TagInput,
7+
decorators: [(Story) => <div style={{ maxWidth: "500px" }}>{Story()}</div>],
88
};
99

1010
export default meta;
1111
type Story = StoryObj<typeof TagInput>;
1212

1313
export const Default: Story = {
14-
args: {
15-
values: [],
16-
},
14+
args: {
15+
values: [],
16+
},
1717
};
1818

1919
export const WithEmptyTags: Story = {
20-
args: {
21-
values: ["", "", ""],
22-
},
20+
args: {
21+
values: ["", "", ""],
22+
},
2323
};
2424

2525
export const WithLongTags: Story = {
26-
args: {
27-
values: ["this-is-a-very-long-long-long-tag-that-might-wrap", "another-long-tag-example", "short"],
28-
},
26+
args: {
27+
values: [
28+
"this-is-a-very-long-long-long-tag-that-might-wrap",
29+
"another-long-tag-example",
30+
"short",
31+
],
32+
},
2933
};
3034

3135
export const WithManyTags: Story = {
32-
args: {
33-
values: [
34-
"tag1",
35-
"tag2",
36-
"tag3",
37-
"tag4",
38-
"tag5",
39-
"tag6",
40-
"tag7",
41-
"tag8",
42-
"tag9",
43-
"tag10",
44-
"tag11",
45-
"tag12",
46-
"tag13",
47-
"tag14",
48-
"tag15",
49-
"tag16",
50-
"tag17",
51-
"tag18",
52-
"tag19",
53-
"tag20",
54-
],
55-
},
36+
args: {
37+
values: [
38+
"tag1",
39+
"tag2",
40+
"tag3",
41+
"tag4",
42+
"tag5",
43+
"tag6",
44+
"tag7",
45+
"tag8",
46+
"tag9",
47+
"tag10",
48+
"tag11",
49+
"tag12",
50+
"tag13",
51+
"tag14",
52+
"tag15",
53+
"tag16",
54+
"tag17",
55+
"tag18",
56+
"tag19",
57+
"tag20",
58+
],
59+
},
5660
};

0 commit comments

Comments
 (0)