How to use the terra-clinical-item-display.Comment function in terra-clinical-item-display

To help you get started, we’ve selected a few terra-clinical-item-display examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cerner / terra-clinical / packages / terra-clinical-item-view / src / ItemView.jsx View on Github external
      {renderAccessory(startAccessory, reserveStartAccessorySpace, accessoryAlignment, 'start')}
        {renderRows(displays, layout, textEmphasis)}
      {renderAccessory(endAccessory, false, accessoryAlignment, 'end')}

ItemView.propTypes = propTypes;
ItemView.defaultProps = defaultProps;

ItemView.Display = ItemDisplay;
ItemView.Comment = ItemDisplay.Comment;

export default ItemView;
export {


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.

Latest version published 3 months ago

Package Health Score

82 / 100
Full package analysis

Popular terra-clinical-item-display functions