Add theme i18n component
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import { Component, ReactNode } from "react";
|
||||
import { SettingProvider, Setting } from "@Context/Setting";
|
||||
import { HeaderBar } from "@Component/HeaderBar/HeaderBar";
|
||||
import { Theme, FontLevel, BackgroundLevel } from "@Component/Theme/Theme";
|
||||
import { Localization } from "@Component/Localization/Localization";
|
||||
import { Entry } from "../Entry/Entry";
|
||||
import "./SimulatorWeb.scss";
|
||||
|
||||
@@ -22,6 +24,14 @@ class SimulatorWeb extends Component {
|
||||
public render(): ReactNode {
|
||||
return <SettingProvider value={this.setting}>
|
||||
<HeaderBar/>
|
||||
<Theme
|
||||
className="test"
|
||||
fontLevel={FontLevel.Level2}
|
||||
backgroundLevel={BackgroundLevel.Level1}
|
||||
>
|
||||
Theme
|
||||
</Theme>
|
||||
<Localization i18nKey="EN_US"/>
|
||||
</SettingProvider>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user