Skip to content

Commit dff70e7

Browse files
committed
fix: chip example not working for multiple
1 parent a33cf65 commit dff70e7

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
end_of_line = lf
7+
indent_size = 2
8+
indent_style = space
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true

.storybook/main.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import type { StorybookViteConfig } from "@storybook/builder-vite";
22

33
const config: StorybookViteConfig = {
44
stories: [
5-
"../src/**/*.mdx",
65
"../src/**/*.stories.@(js|jsx|ts|tsx)",
76
"../examples/*.stories.@(js|jsx|ts|tsx)",
87
],

src/Chip/Chip.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const Primary: Story = {
2727

2828
export const ChipGroup: StoryGroup = {
2929
render: (args) => (
30-
<Chip.Group {...args}>
30+
<Chip.Group multiple {...args}>
3131
<Chip.Item value="react">React</Chip.Item>
3232
<Chip.Item value="ng">Angular</Chip.Item>
3333
<Chip.Item value="svelte">Svelte</Chip.Item>

0 commit comments

Comments
 (0)