tuil
ReferencePackages@mwillbanks/tuil-storyAPI

FumadocsStoryConfig

interface exported by @mwillbanks/tuil-story.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-story.

export interface FumadocsStoryConfig {
  readonly Component: FunctionComponent<FumadocsStoryProps>;
  readonly args: {
    readonly initial: FumadocsStoryProps;
  };
}

Members

MemberTypeRequiredDescriptionRelated types
ComponentFunctionComponent<Readonly<Record<string, unknown> & &#123; readonly terminalWidth: number; readonly terminalHeight: number; readonly terminalColorDepth: 1 | 4 | 8 | 24; readonly terminalUnicode: boolean; readonly terminalTheme: string; readonly terminalPlatform: NodeJS.Platform; readonly terminalInteractive: boolean; readonly terminalReducedMotion: boolean; readonly terminalMouse: boolean; readonly terminalHyperlinks: boolean; readonly terminalInput?: string; &#125;>>YesThe Component member uses the FunctionComponent<Readonly<Record<string, unknown> & &#123; readonly terminalWidth: number; readonly terminalHeight: number; readonly terminalColorDepth: 1 | 4 | 8 | 24; readonly terminalUnicode: boolean; readonly terminalTheme: string; readonly terminalPlatform: NodeJS.Platform; readonly terminalInteractive: boolean; readonly terminalReducedMotion: boolean; readonly terminalMouse: boolean; readonly terminalHyperlinks: boolean; readonly terminalInput?: string; &#125;>> contract.
args&#123; readonly initial: FumadocsStoryProps; &#125;YesThe args member uses the &#123; readonly initial: FumadocsStoryProps; &#125; contract.FumadocsStoryProps

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