Update 'docs/pages.md'

This commit is contained in:
Aditya Thakral 2022-02-02 21:02:48 -05:00 committed by Gitea
parent 96eae6845e
commit 5204375739
1 changed files with 1 additions and 1 deletions

View File

@ -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>;
}
```