UNPKG

terra-clinical-item-view

Version:

The Item View component allows displays to be organized into rows and column and themed, while providing means to add accessory elements and a comment.

18 lines (14 loc) 491 B
import React from 'react'; import classNames from 'classnames/bind'; import ItemView from '../../../ItemView'; import styles from './ItemViewCommon.test.module.scss'; const cx = classNames.bind(styles); const DefaultItemView = () => ( <div> <p>Given no props, the div is created, but there is no content to show. The ItemView is outlined below.</p> <div className={cx('itemview-wrapper')}> <ItemView id="ItemView" /> </div> </div> ); export default DefaultItemView;