1 | import { StoryFn } from "@storybook/addons";
|
2 |
|
3 | export interface ICollection {
|
4 | [p: string]: any;
|
5 | }
|
6 |
|
7 | export interface NgModuleMetadata {
|
8 | declarations?: any[];
|
9 | entryComponents?: any[];
|
10 | imports?: any[];
|
11 | schemas?: any[];
|
12 | providers?: any[];
|
13 | }
|
14 |
|
15 | export interface IStory {
|
16 | component?: any;
|
17 | props?: ICollection;
|
18 | propsMeta?: ICollection;
|
19 | moduleMetadata?: NgModuleMetadata;
|
20 | template?: string;
|
21 | styles?: string[];
|
22 | }
|
23 | declare module '@storybook/addon-centered/angular' {
|
24 | export function centered(story: StoryFn<IStory>): IStory;
|
25 | }
|