UNPKG

terra-clinical-item-display

Version:

The Item Display component creates an display for text and an optional graphic. The Comment subcomponent creates a display for text with a comment icon.

12 lines (9 loc) 271 B
import React from 'react'; // eslint-disable-next-line import/no-extraneous-dependencies import ItemComment from 'terra-clinical-item-display/lib/ItemComment'; const component = () => ( <span> <ItemComment text="Comment" /> </span> ); export default component;