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.
14 lines (10 loc) • 513 B
JSX
import React from 'react';
import ItemDisplay from '../../../../ItemDisplay';
const views = () => (
<div>
<ItemDisplay text="test text" textStyle="attention" id="test-display-attention-meaning" textStyleMeaning="Important" />
<ItemDisplay text="test text (default)" textStyle="strikeThrough" id="test-display-strike-through-default" />
<ItemDisplay text="test text" textStyle="strikeThrough" id="test-display-strike-through-meaning" textStyleMeaning="Update" />
</div>
);
export default views;