UNPKG

@storybook/angular

Version:

Storybook for Angular: Develop Angular components in isolation with hot reloading.

14 lines (13 loc) 603 B
import { Type } from '@angular/core'; import { ICollection, NgModuleMetadata } from '../types'; import { PropertyExtractor } from './utils/PropertyExtractor'; /** Wraps the story template into a component */ export declare const createStorybookWrapperComponent: ({ selector, template, storyComponent, styles, moduleMetadata, initialProps, analyzedMetadata, }: { selector: string; template: string; storyComponent: Type<unknown> | undefined; styles: string[]; moduleMetadata: NgModuleMetadata; initialProps?: ICollection; analyzedMetadata: PropertyExtractor; }) => Type<any>;