Function CodeMirrorEditor

  • Parameters

    • props: {
          autoRun: boolean;
          code: string;
          codePre?: string;
          disableRun: boolean;
          insertText?: ((payload?) => string);
          kernel?: Kernel;
          outputAdapter: OutputAdapter;
          sourceId: string;
          toolbarPosition: "none" | "middle" | "up";
      }
      • autoRun: boolean
      • code: string
      • Optional codePre?: string
      • disableRun: boolean
      • Optional insertText?: ((payload?) => string)
          • (payload?): string
          • Parameters

            • Optional payload: any

            Returns string

      • Optional kernel?: Kernel
      • outputAdapter: OutputAdapter
      • sourceId: string
      • toolbarPosition: "none" | "middle" | "up"

    Returns Element

Generated using TypeDoc