diff --git a/app/lib/components/ParticipantList/ListMe.jsx b/app/lib/components/ParticipantList/ListMe.jsx
index 6b86025..460c738 100644
--- a/app/lib/components/ParticipantList/ListMe.jsx
+++ b/app/lib/components/ParticipantList/ListMe.jsx
@@ -35,4 +35,4 @@ const mapStateToProps = (state) => ({
export default connect(
mapStateToProps
-)(ListMe);
\ No newline at end of file
+)(ListMe);
diff --git a/app/lib/components/ParticipantList/ParticipantList.jsx b/app/lib/components/ParticipantList/ParticipantList.jsx
index 97da94a..e9f8492 100644
--- a/app/lib/components/ParticipantList/ParticipantList.jsx
+++ b/app/lib/components/ParticipantList/ParticipantList.jsx
@@ -7,32 +7,68 @@ import PropTypes from 'prop-types';
import ListPeer from './ListPeer';
import ListMe from './ListMe';
-const ParticipantList = ({ advancedMode, peers, setSelectedPeer, selectedPeerName }) => (
-
+ );
ParticipantList.propTypes =
{
advancedMode : PropTypes.bool,
peers : PropTypes.arrayOf(appPropTypes.Peer).isRequired,
setSelectedPeer : PropTypes.func.isRequired,
- selectedPeerName : PropTypes.string
+ selectedPeerName : PropTypes.string,
+ spotlights : PropTypes.array.isRequired
};
const mapStateToProps = (state) =>
@@ -41,7 +77,8 @@ const mapStateToProps = (state) =>
return {
peers : peersArray,
- selectedPeerName : state.room.selectedPeerName
+ selectedPeerName : state.room.selectedPeerName,
+ spotlights : state.room.spotlights
};
};
diff --git a/app/stylus/components/ParticipantList.styl b/app/stylus/components/ParticipantList.styl
index b1218cd..2782533 100644
--- a/app/stylus/components/ParticipantList.styl
+++ b/app/stylus/components/ParticipantList.styl
@@ -6,6 +6,10 @@
0 4px 20px 0 rgba(0,0,0,0.19);
background-color: #fff;
+ > .list-header {
+ padding: 0.5rem;
+ font-weight: bolder;
+ }
> .list-item {
padding: 0.5rem;
border-bottom: 1px solid #CBCBCB;