AdditionalItemsSection
Renders FAQ and Related Items from additional_items. Excludes notice blocks (handled by NoticesSection). Shared by Blog, Guide, LiveStream, and Kickstart.
Props
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
items | AdditionalItemWithContent[] | Yes | - | additional_items from CMS entry |
AdditionalItemWithContent
interface AdditionalItemWithContent {
uid?: string;
notice?: unknown;
faq?: FaqType;
related_items?: ListType;
$?: {
faq?: CSLPFieldMapping;
related_items?: CSLPFieldMapping;
};
}Usage
import { AdditionalItemsSection } from '@/components/organisms/AdditionalItemsSection';
<AdditionalItemsSection items={entry.additional_items} />Features
- FAQ blocks: Renders
FAQmolecule when item has faq with qas - Related items: Renders
Listorganism when item has related_items - Combined blocks: Item with both FAQ and Related Items renders both
- Excludes notices: Items with only notice are filtered out (NoticesSection handles those)
- CSLP support: Passes
item.$?.faqanditem.$?.related_itemsfor visual editing
Notes
- Returns
nullif no items have FAQ or Related Items - Uses
noPaddingon List for consistent spacing - Renders after main content on content pages