(props)
| 2 | import PropTypes from "prop-types" |
| 3 | |
| 4 | export default function HTML(props) { |
| 5 | return ( |
| 6 | <html {...props.htmlAttributes}> |
| 7 | <head> |
| 8 | {props.headComponents} |
| 9 | </head> |
| 10 | <body {...props.bodyAttributes}> |
| 11 | {props.preBodyComponents} |
| 12 | <div |
| 13 | key={`body`} |
| 14 | id="___gatsby" |
| 15 | dangerouslySetInnerHTML={{ __html: props.body }} |
| 16 | /> |
| 17 | {props.postBodyComponents} |
| 18 | </body> |
| 19 | </html> |
| 20 | ) |
| 21 | } |
| 22 | |
| 23 | HTML.propTypes = { |
| 24 | htmlAttributes: PropTypes.object, |
nothing calls this directly
no outgoing calls
no test coverage detected