Skip to content

Commit 80cbe15

Browse files
committed
fix: subcomponents need to be an object of objects
1 parent beca96a commit 80cbe15

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/content-switcher/content-switcher.stories.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ export default {
1212
imports: [ContentSwitcherModule]
1313
})
1414
],
15-
argTypes: {
16-
code: {
17-
control: false
18-
}
19-
},
15+
// argTypes: {
16+
// code: {
17+
// control: false
18+
// }
19+
// },
2020
component: ContentSwitcher,
21-
subcomponents: ContentSwitcherOption
21+
subcomponents: {ContentSwitcherOption}
2222
} as Meta;
2323

2424
const Template = (args) => ({

src/treeview/treeview.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default {
1313
})
1414
],
1515
component: TreeViewComponent,
16-
subcomponents: TreeNodeComponent,
16+
subcomponents: {TreeNodeComponent},
1717
args: {
1818
size: "sm",
1919
isMultiSelect: false

0 commit comments

Comments
 (0)