Routes configurations for the application

interface RoutesConfig {
    common?: RouteProps[];
    fallback?: Partial<FallbackProps>;
    private?: RouteProps[];
    public?: RouteProps[];
}

Properties

common?: RouteProps[]

Common routes definitions - accessible by both authorized and unauthorized users

fallback?: Partial<FallbackProps>

Fallback props configured globally

private?: RouteProps[]

Private routes definitions - accessible only by authorized users (authorized: true)

public?: RouteProps[]

Public routes definitions - accessible only by unauthorized users (authorized: false)

Generated using TypeDoc