@plone/volto
Version:
Volto
56 lines (55 loc) • 1.11 kB
TypeScript
export function getExternalRoutes(): {
component: (props: any) => import("react/jsx-runtime").JSX.Element;
}[];
/**
* Default routes array.
* @array
* @returns {array} Routes.
*/
export const multilingualRoutes: ({
path: string;
component: any;
exact?: undefined;
} | {
path: string;
component: any;
exact: boolean;
})[];
export const defaultRoutes: ({
path: string;
component: any;
exact?: undefined;
} | {
path: string;
component: any;
exact: boolean;
} | {
component: (props: any) => import("react/jsx-runtime").JSX.Element;
} | {
path: string[];
component: any;
})[];
export default routes;
/**
* Routes array.
* @array
* @returns {array} Routes.
*/
declare const routes: {
path: string;
component: any;
routes: ({
path: string;
component: any;
exact?: undefined;
} | {
path: string;
component: any;
exact: boolean;
} | {
component: (props: any) => import("react/jsx-runtime").JSX.Element;
} | {
path: string[];
component: any;
})[];
}[];