Skip to main content

HostProvidedParams

type HostProvidedParams = {
[key: string]: unknown;
history?: History;
initialRoute?: To;
theme?: DefaultTheme;
};

Host-provided values that can't be read from the app config.

Indexable

[key: string]: unknown

Additional host-defined key-value pairs

Properties

history?

optional history?: History;

Host-provided history object (by reference, App Bridge only — not for SSF)


initialRoute?

optional initialRoute?: To;

Route to navigate to on open (only when useParentHistory is false)


theme?

optional theme?: DefaultTheme;

Styled-components theme