Update 'docs/pages.md'
This commit is contained in:
parent
96eae6845e
commit
5204375739
|
@ -21,7 +21,7 @@ function PageXYZ() {
|
|||
}
|
||||
|
||||
// If we want this page to use a custom layout, we can add a static `Layout` function to it.
|
||||
PageXYZ.Layout = PageXYZLayout(props: { children: React.ReactNode }) {
|
||||
PageXYZ.Layout = function PageXYZLayout(props: { children: React.ReactNode }) {
|
||||
return <div className={styles.customLayoutStyles}>{props.children}</div>;
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue