Update 'docs/pages.md'

Aditya Thakral 10 months ago
parent dca46d5919
commit cc0fd3e314
  1. 2
      docs/pages.md

@ -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…
Cancel
Save