Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 733 Bytes

File metadata and controls

24 lines (16 loc) · 733 Bytes

bpk-component-description-list

Backpack description list component.

Installation

Check the main Readme for a complete installation guide.

Usage

import { BpkDescriptionList, BpkDescriptionTerm, BpkDescriptionDetails } from '@skyscanner/backpack-web/bpk-component-description-list';

export default () => (
  <BpkDescriptionList>
    <BpkDescriptionTerm>Apple</BpkDescriptionTerm>
    <BpkDescriptionDetails>A fruit</BpkDescriptionDetails>
  </BpkDescriptionList>
);

Props

Check out the full list of props on Skyscanner's design system documentation website.