bpk-component-description-list
v4.1.2
Published
Backpack description list component.
Downloads
19
Maintainers
Keywords
Readme
bpk-component-description-list
Backpack description list component.
Installation
npm install bpk-component-description-list --save-dev
Usage
import React from 'react';
import { BpkDescriptionList, BpkDescriptionTerm, BpkDescriptionDetails } from 'bpk-component-description-list';
export default () => (
<BpkDescriptionList>
<BpkDescriptionTerm>Apple</BpkDescriptionTerm>
<BpkDescriptionDetails>A fruit</BpkDescriptionDetails>
</BpkDescriptionList>
);
Props
BpkDescriptionList
| Property | PropType | Required | Default Value | | --------- | -------- | -------- | ------------- | | children | - | true | - | | className | string | false | null |
BpkDescriptionTerm
| Property | PropType | Required | Default Value | | --------- | -------- | -------- | ------------- | | children | - | true | - | | className | string | false | null |
BpkDescriptionDetails
| Property | PropType | Required | Default Value | | --------- | -------- | -------- | ------------- | | children | - | true | - | | className | string | false | null |