Update KcApp.tsx
Signed-off-by: Joseph Garrone <joseph.garrone.gj@gmail.com>
This commit is contained in:
parent
58fa92f5ac
commit
92abd21618
@ -36,6 +36,12 @@ export default function App(props: { kcContext: KcContext; }) {
|
||||
return null;
|
||||
}
|
||||
|
||||
/*
|
||||
* Examples assuming i18n.currentLanguageTag === "en":
|
||||
* i18n.msg("access-denied") === <span>Access denied</span>
|
||||
* i18n.msg("foo") === <span>foo in English</span>
|
||||
*/
|
||||
|
||||
const pageProps: Omit<PageProps<any, typeof i18n>, "kcContext"> = {
|
||||
i18n,
|
||||
// Here we have overloaded the default template, however you could use the default one with:
|
||||
|
Loading…
Reference in New Issue
Block a user