+ client: add icons to the whois info

This commit is contained in:
Ildar Kamalov
2019-09-24 15:28:59 +03:00
committed by Simon Zolin
parent fcf37da312
commit ba62d42949
13 changed files with 192 additions and 102 deletions

View File

@@ -0,0 +1,16 @@
import React from 'react';
import PropTypes from 'prop-types';
const wrapCell = ({ value }) => (
<div className="logs__row logs__row--overflow">
<span className="logs__text" title={value}>
{value || ''}
</span>
</div>
);
wrapCell.propTypes = {
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
export default wrapCell;