Fix linting

This commit is contained in:
Mikael Sand
2017-06-07 17:25:22 +03:00
parent 93eaa6bc48
commit 77e54cfcfb
6 changed files with 30 additions and 35 deletions
+2 -2
View File
@@ -26,13 +26,13 @@ export default class extends Shape {
return {
isInAParentText: true
};
};
}
getContextTypes() {
return {
isInAParentText: React.PropTypes.bool
};
};
}
setNativeProps = (...args) => {
this.root.setNativeProps(...args);
+2 -2
View File
@@ -25,13 +25,13 @@ export default class extends Shape {
return {
isInAParentText: true
};
};
}
getContextTypes() {
return {
isInAParentText: React.PropTypes.bool
};
};
}
setNativeProps = (...args) => {
this.root.setNativeProps(...args);
+1 -1
View File
@@ -43,7 +43,7 @@ export default class extends Shape {
}
console.warn('Invalid `href` prop for `TextPath` element, expected a href like `"#id"`, but got: "' + props.href + '"');
return <TSpan>{children}</TSpan>
return <TSpan>{children}</TSpan>;
}
}