tuil
ReferencePackages@mwillbanks/tuil-storyAPI

TuilStoryDefinition

export exported by @mwillbanks/tuil-story.

View rawEdit

export

Public export exported by @mwillbanks/tuil-story.

export interface TuilStoryDefinition<
  TProps,
  TStories extends Readonly<Record<string, TuilStory<TProps>>>,
> {
  readonly component: ComponentType<TProps>;
  readonly stories: TStories;
}

Members

MemberTypeRequiredDescriptionRelated types
componentComponentType<TProps>YesThe component member uses the ComponentType<TProps> contract.
storiesTStoriesYesThe stories member uses the TStories contract.

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-story

On this page