mirror of
https://github.com/yldio/copilot.git
synced 2024-12-29 05:10:05 +02:00
fixing proptype validation and syntax of "z-index" to "zIndex"
This commit is contained in:
parent
62f9598c5c
commit
deca0897a8
@ -44,14 +44,14 @@ const arrowPosition = {
|
||||
const tooltipStyle = {
|
||||
position: 'absolute',
|
||||
top: 0,
|
||||
'z-index': 1
|
||||
zIndex: 1
|
||||
};
|
||||
|
||||
const PlainButton = styled.button`
|
||||
background: transparent;
|
||||
font-size: inherit;
|
||||
border: none;
|
||||
z-index: 0;
|
||||
zIndex: 0;
|
||||
font-family: inherit;
|
||||
color: inherit;
|
||||
`;
|
||||
@ -93,7 +93,10 @@ const PersonStatus = (props) => {
|
||||
PersonStatus.propTypes = {
|
||||
handleStatusTooltip: React.PropTypes.func,
|
||||
person: React.PropTypes.object,
|
||||
toggledID: React.PropTypes.string,
|
||||
toggledID: React.PropTypes.oneOfType([
|
||||
React.PropTypes.string,
|
||||
React.PropTypes.bool,
|
||||
])
|
||||
};
|
||||
|
||||
module.exports = PersonStatus;
|
Loading…
Reference in New Issue
Block a user