mirror of
https://github.com/status-im/react-native-mapbox-gl.git
synced 2026-08-30 20:41:08 +00:00
Lint
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
/* eslint react/prop-types: 0 */
|
||||
import React from 'react';
|
||||
|
||||
class AbstractLayer extends React.Component {
|
||||
|
||||
@@ -76,7 +76,7 @@ class ShapeSource extends React.Component {
|
||||
id: MapboxGL.StyleSource.DefaultSourceID,
|
||||
};
|
||||
|
||||
_getShape() {
|
||||
_getShape () {
|
||||
if (!this.props.shape) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ class MapStyleTransitionItem extends MapStyleItem {
|
||||
duration: duration,
|
||||
delay: delay,
|
||||
},
|
||||
...extras
|
||||
...extras,
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -32,7 +32,7 @@ class MapStyleTranslationItem extends MapStyleItem {
|
||||
constructor (x, y, extras = {}) {
|
||||
super(StyleTypes.Translation, {
|
||||
value: [x, y],
|
||||
...extras
|
||||
...extras,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user