layout
layout(Layout: ElementType,ParentLayout: ElementType): ElementType<any>
Inspired by this excellent article:
https://adamwathan.me/2019/10/17/persistent-layout-patterns-in-nextjs/
Properties
(Mandatory properties are in bold)Properties | Type | Description |
---|---|---|
Layout | ElementType |
Additional properties for advanced use cases
Properties | Type | Description |
---|---|---|
ParentLayout | ElementType |