/
disable-docs.stories.ts
41 lines (39 loc) · 1.15 KB
/
disable-docs.stories.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import { storiesOf } from '@storybook/angular';
import markdownNotes from './target.md';
storiesOf('Disabled docs', module)
.add('Primary', () => ({
template: 'see docs tab',
}),
{
viewMode: 'docs',
a11y: { disabled: true },
knobs: { disabled: true },
actions: { disabled: true },
notes: { markdown: markdownNotes },
docs: { disable: true, }
}
)
.add('Another story 1', () => ({
template: 'see docs tab',
}),
{
viewMode: 'docs',
a11y: { disabled: true },
knobs: { disabled: true },
actions: { disabled: true },
notes: { markdown: markdownNotes },
docs: { disable: true, }
}
)
.add('Another story 2', () => ({
template: 'see docs tab',
}),
{
viewMode: 'docs',
a11y: { disabled: true },
knobs: { disabled: true },
actions: { disabled: true },
notes: { markdown: markdownNotes },
docs: { disable: true, }
}
);