UNPKG

terra-clinical-label-value-view

Version:

The label value view component displays a label and the associated value or list of values underneath the label.

12 lines (9 loc) 332 B
import React from 'react'; import LabelValueView from 'terra-clinical-label-value-view'; const LabelValueViewText = () => ( <div> <h4 id="topic">Topic text for the LabelValueView</h4> <LabelValueView label="Label" textValue="Sample Text as Value" ariaLabelledBy="topic" /> </div> ); export default LabelValueViewText;