mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-21 06:15:15 +00:00
Fix linting, warnings, add noinspection suppression comments.
This commit is contained in:
@@ -18,8 +18,7 @@ export default function(props, styleProperties) {
|
||||
|
||||
return {
|
||||
// default fill is black
|
||||
/*eslint eqeqeq:0*/
|
||||
fill: extractBrush(props.fill == null ? '#000' : props.fill),
|
||||
fill: extractBrush(props.fill || '#000'),
|
||||
fillOpacity: extractOpacity(props.fillOpacity),
|
||||
fillRule: fillRules[props.fillRule] === 0 ? 0 : 1
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user