import React from "react" import PropTypes from "prop-types" export default function HTML(props) { return (
{props.headComponents} {process.env.GATSBY_FLAG_ADSENSE === "on" && ( )} {props.preBodyComponents} {props.postBodyComponents} ) } HTML.propTypes = { htmlAttributes: PropTypes.object, headComponents: PropTypes.array, bodyAttributes: PropTypes.object, preBodyComponents: PropTypes.array, body: PropTypes.string, postBodyComponents: PropTypes.array, }