UNPKG

opendash

Version:

open.DASH data visualization framework

17 lines 798 B
import * as React from "react"; import { Layout } from "antd"; import { useTranslation } from "../.."; import Header from "./header"; import { LanguageSelection } from "./LanguageSelection"; import theme from "./theme"; export default function AppLayout(_a) { var children = _a.children; var t = useTranslation(["opendash"])[0]; return (React.createElement(Layout, { style: theme.layout }, React.createElement(Layout.Header, { style: theme.header }, React.createElement(Header, null), React.createElement(LanguageSelection, null)), React.createElement(Layout.Content, { style: theme.content }, children), React.createElement(Layout.Footer, { style: theme.footer }, t("ui.copyright")))); } //# sourceMappingURL=index.js.map