Anatomy
Section Header
Header for each Section.
The SectionHeader component serves as a <h2/>
element. The text within the SectionHeader is used to generate the corresponding Index Items.
If the header text is lengthy and a shorter title is desired for the Index
Item, you can provide an alternative using the title
prop.
Example
Using a shorter title to create Index Items
Props
Prop | Type | Default |
---|---|---|
children | string | - |
title | string | - |
className | string | "" |
style | CSSProperties | {} |