diff --git a/src/views/preview/extension-chip.jsx b/src/views/preview/extension-chip.jsx index 056f9b503..168ad0bd9 100644 --- a/src/views/preview/extension-chip.jsx +++ b/src/views/preview/extension-chip.jsx @@ -1,19 +1,30 @@ +const classNames = require('classnames'); const React = require('react'); +const PropTypes = require('prop-types'); require('./extension-chip.scss'); -const ExtensionChip = () => ( -
+const ExtensionChip = props => ( +
-
- Pen -
+ {props.extensionName} + {props.hasStatus && ( +
+ Needs Connection +
+ )}
); +ExtensionChip.propTypes = { + extensionName: PropTypes.string, + hasStatus: PropTypes.boolean, + iconSrc: PropTypes.string +}; + module.exports = ExtensionChip;