The list under an IndexHeader; variant="section" is the homepage's news band (a lead story, three headlines, a link to News), laid out across rather than down.
import { PostList } from '@redrob-labs/ui';
| Prop | Type | Notes |
|---|---|---|
variant |
'index' | 'section' |
section is the homepage's news band and takes NewsSectionProps: lead is then the newest story, items three headlines, href the News index. |
items |
PubStory[] |
|
lead |
boolean | PubStory |
Pass false on a page where the first item must not be promoted. With variant section, the lead story. |
title |
string |
|
href |
string |
|
allLabel |
string |
|
id |
string |
|
lang |
'en' | 'ko' |
|
group |
'year' |
'year' breaks the rest into year sections with real headings. |
className |
string |