/* eslint-disable react/no-danger */ import * as React from "react"; import { HelmetData } from "react-helmet"; import { themeMap, localeMap } from "_server/data"; type Props = { root: string; helmet: HelmetData; styles: React.ReactNode; preloadable: React.ReactNode; loadable: React.ReactNode; themeId: string; localeId: string; }; const Html = ({ root, helmet, styles, preloadable, loadable, themeId, localeId }: Props) => (
{helmet.title.toComponent()} {helmet.meta.toComponent()} {helmet.link.toComponent()} {helmet.script.toComponent()} {helmet.style.toComponent()} {preloadable} {styles} {loadable} ); export default Html;