@imperium/layout 7.3.0 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -81,6 +81,7 @@ export const routeProps = createPages(routes, {
81
81
  content: (data: Data) => JSX.Element,
82
82
  header: /*One of: string | {title: string, icon?: string} | (data: Data) => {title: string, icon?: string} */,
83
83
  sidebar: [ /* SidebarItem array */ ],
84
+ full: boolean,
84
85
  }
85
86
  });
86
87
  ```
@@ -105,6 +106,9 @@ If header is not specified, there will be no header.
105
106
  Array of Sidebar Items. The sidebar is an optional vertical menu on the right side of the content area. It should usually
106
107
  be comprised of button actions. There are different types of sidebar items that can be rendered.
107
108
 
109
+ ### Full
110
+ Sets the height of the content area to 100% and has no margins.
111
+
108
112
  ## Add layout and pages to your feature index
109
113
  In your feature `index.ts` file, add layout and pages (routeProps). Layout is not optional, but it can be an empty object.
110
114
  Using `createPages()` is entirely optional.