1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-11 05:40:11 +02:00

fixing proptype validation and syntax of "z-index" to "zIndex"

This commit is contained in:
Alex Windett 2017-01-24 11:31:52 +00:00
parent 62f9598c5c
commit deca0897a8

View File

@ -44,14 +44,14 @@ const arrowPosition = {
const tooltipStyle = { const tooltipStyle = {
position: 'absolute', position: 'absolute',
top: 0, top: 0,
'z-index': 1 zIndex: 1
}; };
const PlainButton = styled.button` const PlainButton = styled.button`
background: transparent; background: transparent;
font-size: inherit; font-size: inherit;
border: none; border: none;
z-index: 0; zIndex: 0;
font-family: inherit; font-family: inherit;
color: inherit; color: inherit;
`; `;
@ -93,7 +93,10 @@ const PersonStatus = (props) => {
PersonStatus.propTypes = { PersonStatus.propTypes = {
handleStatusTooltip: React.PropTypes.func, handleStatusTooltip: React.PropTypes.func,
person: React.PropTypes.object, person: React.PropTypes.object,
toggledID: React.PropTypes.string, toggledID: React.PropTypes.oneOfType([
React.PropTypes.string,
React.PropTypes.bool,
])
}; };
module.exports = PersonStatus; module.exports = PersonStatus;