tuil
ReferencePackages@mwillbanks/tuil-storyAPI

createStorybookAdapter

function exported by @mwillbanks/tuil-story.

View rawEdit

function

Public function exported by @mwillbanks/tuil-story.

export function createStorybookAdapter(
  set: TuilStorySet | BrowserStorySet,
  options: { readonly endpoint?: string } = {},
): StorybookAdapter;

Members

This declaration has no public members.

Parameters

MemberTypeRequiredDescriptionRelated types
setTuilStorySet | BrowserStorySetYesSupplies the set value as TuilStorySet | BrowserStorySet.BrowserStorySet, TuilStorySet
options{ readonly endpoint?: string }NoSupplies the options value as { readonly endpoint?: string }.

Returns

StorybookAdapter — Returns a value that satisfies StorybookAdapter.

Related types: StorybookAdapter

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-story

On this page