createFumadocsStoryAdapter
function exported by @mwillbanks/tuil-story.
function
Public function exported by @mwillbanks/tuil-story.
export function createFumadocsStoryAdapter(
set: TuilStorySet | BrowserStorySet,
options: { readonly endpoint?: string } = {},
): Readonly<Record<string, FumadocsStoryConfig>>;Members
This declaration has no public members.
Parameters
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
set | TuilStorySet | BrowserStorySet | Yes | Supplies the set value as TuilStorySet | BrowserStorySet. | BrowserStorySet, TuilStorySet |
options | { readonly endpoint?: string } | No | Supplies the options value as { readonly endpoint?: string }. | — |
Returns
Readonly<Record<string, FumadocsStoryConfig>> — Returns a value that satisfies Readonly<Record<string, FumadocsStoryConfig>>.
Related types: FumadocsStoryConfig
Throws
No thrown errors are documented for this declaration.
Related types
Source
View the secondary source reference