Layout
Last updated
Last updated
Gravity Web offers four versatile layout options. Layouts contain the common components to be rendered across all views that utilise that layout, for example: navigation and header.
You can use a layout by passing its name in the route object.
Prop | Description | Required | Value |
---|---|---|---|
children
children to render
required
component(s)
title
view title
required
string