/** * Copyright (c) Facebook, Inc. and its affiliates. * * @flow */ import React from 'react'; const JS_NPM_URLS = [ 'https://unpkg.com/docsearch.js@2.4.1/dist/cdn/docsearch.min.js', ]; type Props = {| htmlAttributes: any, headComponents: React$Node, bodyAttributes: any, body: string, postBodyComponents: React$Node, |}; export default class HTML extends React.Component { render() { return ( {JS_NPM_URLS.map(url => ( ))} {this.props.headComponents}
{this.props.postBodyComponents} {JS_NPM_URLS.map(url => (