WIP
This commit is contained in:
parent
184139f284
commit
2a10ec9a20
7 changed files with 216 additions and 6 deletions
16
src/KcApp/MyExtraPage2.tsx
Normal file
16
src/KcApp/MyExtraPage2.tsx
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import { memo } from "react";
|
||||
import type { KcProps } from "keycloakify";
|
||||
import type { KcContext } from "./kcContext";
|
||||
import type { I18n } from "./i18n";
|
||||
|
||||
type KcContext_MyExtraPage2 = Extract<KcContext, { pageId: "my-extra-page-2.ftl"; }>;
|
||||
|
||||
const MyExtraPage2 = memo(({ kcContext, i18n, ...props }: { kcContext: KcContext_MyExtraPage2; i18n: I18n; } & KcProps) => {
|
||||
|
||||
console.log(`TODO: Do something with: ${kcContext.someCustomValue}`);
|
||||
|
||||
return <>It is up to you to implement this page</>
|
||||
|
||||
});
|
||||
|
||||
export default MyExtraPage2;
|
||||
Loading…
Add table
Add a link
Reference in a new issue