Interface ILayoutProps<T, U>

Layout props.

T Additional of the initial data.

U Type of the user.

interface ILayoutProps<T, U> {
    bundle: string;
    componentWrappers?: string[];
    charSet?: string;
    initialData: ILayoutPropsInitialData<U> & T;
    lang?: string;
    scripts?: string[];
    styles?: string[];
    title: string;
    url: {
        hostname: string;
        pathname: string;
        protocol: string;
    };
    user?: U;
    version: string;
}

Type Parameters

  • T = {}
  • U = any

Properties

bundle: string
componentWrappers?: string[]

List of ids of the wrappers for rendering components.

charSet?: string
initialData: ILayoutPropsInitialData<U> & T
lang?: string
scripts?: string[]
styles?: string[]
title: string
url: {
    hostname: string;
    pathname: string;
    protocol: string;
}
user?: U
version: string