@@ -130,9 +130,7 @@ const appPlugin: FrontendPlugin<
|
||||
inputs: {
|
||||
router: ExtensionInput<
|
||||
ConfigurableExtensionDataRef<
|
||||
ComponentType<{
|
||||
children?: ReactNode | undefined;
|
||||
}>,
|
||||
(props: { children: ReactNode }) => JSX.Element | null,
|
||||
'app.router.wrapper',
|
||||
{}
|
||||
>,
|
||||
@@ -168,9 +166,7 @@ const appPlugin: FrontendPlugin<
|
||||
>;
|
||||
wrappers: ExtensionInput<
|
||||
ConfigurableExtensionDataRef<
|
||||
ComponentType<{
|
||||
children?: ReactNode | undefined;
|
||||
}>,
|
||||
(props: { children: ReactNode }) => JSX.Element | null,
|
||||
'app.root.wrapper',
|
||||
{}
|
||||
>,
|
||||
|
||||
@@ -182,7 +182,7 @@ type RouteResolverProxy = {
|
||||
export interface AppRouterProps {
|
||||
children?: ReactNode;
|
||||
SignInPageComponent?: ComponentType<SignInPageProps>;
|
||||
RouterComponent?: ComponentType<PropsWithChildren<{}>>;
|
||||
RouterComponent?: (props: { children: ReactNode }) => JSX.Element | null;
|
||||
extraElements?: Array<JSX.Element>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user