Backpack list component.
Check the main Readme for a complete installation guide.
import { BpkList, BpkListItem } from '@skyscanner/backpack-web/bpk-component-list';
export default () => (
<BpkList>
<BpkListItem>Apples</BpkListItem>
<BpkListItem>
Oranges
<BpkList ordered>
<BpkListItem>Tangerines</BpkListItem>
<BpkListItem>Nectarines</BpkListItem>
<BpkListItem>Satsuma</BpkListItem>
</BpkList>
</BpkListItem>
<BpkListItem>Pears</BpkListItem>
</BpkList>
);
Property | PropType | Required | Default Value |
---|---|---|---|
children | - | true | - |
ordered | bool | false | false |
className | string | false | null |
ariaLabel | string | false | null |
ariaLabelledby | string | false | null |
title | string | false | null |
Property | PropType | Required | Default Value |
---|---|---|---|
children | - | true | - |
className | string | false | null |