Section
A preact-layout Section:
- Defines where components will be rendered within a parent
Layout - Has a
typeattribute to associate it with a contribution function, or - Is a 'main' section (no
typeattribute)
Attributes
type
The contribution function this section should be associated with
Optional. Function. Defaults to undefined
Example
<Section type={Header}>
<i>This markup will be used when no contributions are found</i>
</Section>