Skip to main content

ReactRendererOptions

Overview

Usage

import { ReactRendererOptions } from 'keywork/react/interfaces'

Properties

DocumentComponent

optional DocumentComponent: [`KeyworkHTMLDocumentComponent`](../../components/types/KeyworkHTMLDocumentComponent.mdx)

A HTML Document React component which wraps the entire application. Use this if you need to replace the default HTML Document.

Defined in

react/interfaces/ReactRendererOptions.ts:63

Providers

optional Providers: [`KeyworkProvidersComponent`](../../components/types/KeyworkProvidersComponent.mdx)

A React component which wraps the SSR routes. Use this if you need to inject a provider into the SSR pipeline.

Defined in

react/interfaces/ReactRendererOptions.ts:68

logLevel

optional logLevel: `LogLevel`

The log level to use for the renderer.

Default

Defined in

react/interfaces/ReactRendererOptions.ts:74

streamRenderer

optional streamRenderer: `IReactStreamRenderer`

Defined in

react/interfaces/ReactRendererOptions.ts:58