tuil
ReferencePackages@mwillbanks/tuil-storyAPI

renderStoryRequest

function exported by @mwillbanks/tuil-story.

View rawEdit

function

Public function exported by @mwillbanks/tuil-story.

export async function renderStoryRequest(
  catalog: TuilStoryCatalog,
  request: StoryBridgeRequest,
  options: {
    readonly themeRegistry?: ThemeRegistry;
    readonly signal?: AbortSignal;
  } = {},
): Promise<StoryFrame>;

Members

This declaration has no public members.

Parameters

MemberTypeRequiredDescriptionRelated types
catalogTuilStoryCatalogYesSupplies the catalog value as TuilStoryCatalog.TuilStoryCatalog
requestStoryBridgeRequestYesSupplies the request value as StoryBridgeRequest.StoryBridgeRequest
options&#123; readonly themeRegistry?: ThemeRegistry; readonly signal?: AbortSignal; &#125;NoSupplies the options value as &#123; readonly themeRegistry?: ThemeRegistry; readonly signal?: AbortSignal; &#125;.ThemeRegistry

Returns

Promise<StoryFrame> — Returns a value that satisfies Promise<StoryFrame>.

Related types: StoryFrame

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-story

On this page