Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

Commit b3c7dbc

Browse files
authored
add doc wrapper prop
1 parent edeb5ab commit b3c7dbc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/docs/documentation/customizing/add-favicon-and-metadata.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ The metadata is set up in a file called `wrapper.js` which lives in docz theme p
2222
import * as React from 'react'
2323
import { Helmet } from 'react-helmet-async'
2424

25-
const Wrapper = ({ children }) => <React.Fragment>
25+
// The doc prop contains some metadata about the page being rendered that you can use.
26+
const Wrapper = ({ children, doc }) => <React.Fragment>
2627
<Helmet>
2728
<meta charSet="utf-8" />
2829
<title>My Shadow!</title>

0 commit comments

Comments
 (0)