tuil
ReferencePackages@mwillbanks/tuil-storyAPI

renderStaticStoryRequest

function exported by @mwillbanks/tuil-story.

View rawEdit

function

Public function exported by @mwillbanks/tuil-story.

export async function renderStaticStoryRequest(
  catalog: StaticStoryCatalog,
  request: StaticStoryRequest,
  options: {
    readonly themeRegistry?: ThemeRegistry;
    readonly signal?: AbortSignal;
  } = {},
): Promise<StaticStoryFrame>;

Members

This declaration has no public members.

Parameters

MemberTypeRequiredDescriptionRelated types
catalogStaticStoryCatalogYesSupplies the catalog value as StaticStoryCatalog.StaticStoryCatalog
requestStaticStoryRequestYesSupplies the request value as StaticStoryRequest.StaticStoryRequest
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<StaticStoryFrame> — Returns a value that satisfies Promise<StaticStoryFrame>.

Related types: StaticStoryFrame

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-story

On this page