Rename KcApp to KcPage
This commit is contained in:
13
stories/account/KcPage.tsx
Normal file
13
stories/account/KcPage.tsx
Normal file
@ -0,0 +1,13 @@
|
||||
import React from "react";
|
||||
import DefaultPage from "../../dist/account/Fallback";
|
||||
import { useI18n } from "./i18n";
|
||||
import type { KcContext } from "./KcContext";
|
||||
import Template from "../../dist/account/Template";
|
||||
|
||||
export default function KcPage(props: { kcContext: KcContext }) {
|
||||
const { kcContext } = props;
|
||||
|
||||
const { i18n } = useI18n({ kcContext });
|
||||
|
||||
return <DefaultPage kcContext={kcContext} i18n={i18n} Template={Template} doUseDefaultCss={true} />;
|
||||
}
|
Reference in New Issue
Block a user