Interface IPageProps<T, U>

Interface for Page props.

T Another types for the initial data.

U Type of the user.

interface IPageProps<T, U> {
    initialData: IInitialDataProps<U> & T;
    params: any;
    query: any;
}

Type Parameters

  • T = {}
  • U = any

Hierarchy (view full)

Properties

initialData: IInitialDataProps<U> & T

Initial data from the server.

params: any

Route parameters.

query: any

Data in query string.