@plone/volto
Version:
Volto
62 lines (61 loc) • 1.3 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: () => import("react/jsx-runtime").JSX.Element;
exact: boolean;
})[];
export const defaultRoutes: ({
path: string;
component: any;
exact?: undefined;
} | {
component: (props: any) => import("react/jsx-runtime").JSX.Element;
} | {
path: string;
component: any;
exact: boolean;
} | {
path: string[];
component: any;
exact?: undefined;
})[];
export default routes;
/**
* Routes array.
* @array
* @returns {array} Routes.
*/
declare const routes: {
path: string;
component: any;
routes: ({
path: string;
component: React.ComponentType;
exact?: boolean;
} | {
path: string;
component: any;
exact?: undefined;
} | {
component: (props: any) => import("react/jsx-runtime").JSX.Element;
} | {
path: string;
component: any;
exact: boolean;
} | {
path: string[];
component: any;
exact?: undefined;
})[];
}[];