Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "components/CodeFile"

Index

Interfaces

Functions

Functions

Const CodeFile

  • CodeFile(props: { children: string; fileName: string; replacements: Replacement[] }): Element
  • Displays a code file with a heading and a codeblock.

    Parameters

    • props: { children: string; fileName: string; replacements: Replacement[] }
      • children: string

        The file's content.

      • fileName: string
      • replacements: Replacement[]

        A list of replacements to be made in the file's content, e. g. for replacing relative import paths.

    Returns Element

Generated using TypeDoc