@shopify/react-html
Version:
A component to render your react app with no static HTML.
10 lines (9 loc) • 349 B
TypeScript
import * as React from 'react';
import Manager from './manager';
declare const Consumer: React.ComponentType<React.ConsumerProps<Manager>>;
interface Props {
manager?: Manager;
children: React.ReactNode;
}
declare function HtmlManagerProvider({ manager, children }: Props): JSX.Element;
export { HtmlManagerProvider as Provider, Consumer };