We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1e0193 commit d3ec552Copy full SHA for d3ec552
src/parser/types.d.ts
@@ -7,6 +7,7 @@ export interface StoryDef {
7
source: string;
8
description?: string;
9
hasArgs: boolean;
10
+ tags: string[];
11
}
12
13
/**
src/preset/indexer.ts
@@ -62,7 +62,7 @@ export async function createIndex(
62
exportName: id,
63
name: story.name,
64
title: makeTitle(defs.meta.title),
65
- tags: defs.meta.tags,
+ tags: [...(defs.meta.tags ?? []), ...story.tags],
66
metaTags: defs.meta.tags,
67
}));
68
0 commit comments