MCPcopy Create free account
hub / github.com/NullFull/isnamyang / HTML

Function HTML

frontend/src/html.js:4–21  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

2import PropTypes from "prop-types"
3
4export 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
23HTML.propTypes = {
24 htmlAttributes: PropTypes.object,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected