OverviewGroup
This component is mainly used in conjunction with wrap/eject in Custom Theme , and is different from components that are directly imported in MDX. You can modify the styles and functions by passing component props or directly overriding the component. If you override the entire component through eject, please note that the reading of the corresponding configuration options of the component will become invalid and you need to control it yourself.
OverviewGroup renders group cards in overview pages, displaying page lists and their heading anchors. It's part of the Overview page.
Usage
You can modify the component's styles through custom theme, or use OverviewGroup freely for UI display without relying on Rspress's built-in Overview page, for example:
Props
group
- Type:
Group - Required: Yes
name- Group title, rendered as h2 headingitems- List of pages in the groupheaders- Heading anchors within each page, clickable to jump to corresponding positionitems(within GroupItem) - Custom sub-items, used to replace auto-extracted headers