UNPKG

@shopify/react-html

Version:

A component to render your react app with no static HTML.

18 lines (17 loc) 524 B
import * as React from 'react'; import Manager from '../../manager'; export interface Asset { path: string; integrity?: string; } export interface Props { manager?: Manager; children: React.ReactNode; locale?: string; styles?: Asset[]; scripts?: Asset[]; blockingScripts?: Asset[]; headMarkup?: React.ReactNode; bodyMarkup?: React.ReactNode; } export default function Html({ manager, children, locale, blockingScripts, scripts, styles, headMarkup, bodyMarkup, }: Props): JSX.Element;