const classNames = require('classnames'); const React = require('react'); const PropTypes = require('prop-types'); const FormattedMessage = require('react-intl').FormattedMessage; require('./extension-chip.scss'); const ExtensionChip = props => (
{props.iconURI && }
{props.extensionL10n ? : {props.extensionName} } {props.hasStatus && (
Needs Connection
)}
); ExtensionChip.propTypes = { extensionL10n: PropTypes.string, extensionName: PropTypes.string, hasStatus: PropTypes.bool, iconURI: PropTypes.string }; module.exports = ExtensionChip;