tuil
ReferencePackages@mwillbanks/tuil-storyAPI

FumadocsStoryProps

type exported by @mwillbanks/tuil-story.

View rawEdit

type

Public type exported by @mwillbanks/tuil-story.

export type FumadocsStoryProps = Readonly<
  Record<string, unknown> & {
    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;
  }
>;

Members

MemberTypeRequiredDescriptionRelated types
terminalWidthnumberYesThe terminalWidth member uses the number contract.
terminalHeightnumberYesThe terminalHeight member uses the number contract.
terminalColorDepth1 | 4 | 8 | 24YesThe terminalColorDepth member uses the 1 | 4 | 8 | 24 contract.
terminalUnicodebooleanYesThe terminalUnicode member uses the boolean contract.
terminalThemestringYesThe terminalTheme member uses the string contract.
terminalPlatformNodeJS.PlatformYesThe terminalPlatform member uses the NodeJS.Platform contract.
terminalInteractivebooleanYesThe terminalInteractive member uses the boolean contract.
terminalReducedMotionbooleanYesThe terminalReducedMotion member uses the boolean contract.
terminalMousebooleanYesThe terminalMouse member uses the boolean contract.
terminalHyperlinksbooleanYesThe terminalHyperlinks member uses the boolean contract.
terminalInputstring | undefinedNoThe terminalInput member uses the string | undefined contract.

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

No package-local related types.

Source

View the secondary source reference

Package

@mwillbanks/tuil-story

On this page