• Parameters

    • props: {
          error?: {
              message: string;
              sourceInformation: {
                  endColumn: number;
                  endLine: number;
                  startColumn: number;
                  startLine: number;
              };
          };
          extraEditorOptions?: IEditorOptions & IGlobalEditorOptions;
          hideActionBar?: boolean;
          hideGutter?: boolean;
          hideMinimap?: boolean;
          hidePadding?: boolean;
          isReadOnly?: boolean;
          language: string;
          lineToScroll?: number;
          title?: string;
          updateValue?: (val: string) => void;
          value: string;
      }

    Returns ReactNode | Promise<ReactNode>

Properties

displayName?: string

Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.


const MyComponent: FC = () => {
return <div>Hello!</div>
}

MyComponent.displayName = 'MyAwesomeComponent'
propTypes?: any

Ignored by React.

Only kept in types for backwards compatibility. Will be removed in a future major release.