SectionProps

The props of the section structure slot.

The props a registered structure.section component receives: the title of a section layout entry and the entries it groups. Props the entry passes under props come on top.

Example

const Section = ({ label, children }: SectionProps) => (
  <fieldset>
    <legend>{label}</legend>
    {children}
  </fieldset>
)

Members

Prop

Type

See also