Live location sharing - extract zoom buttons into component (#8235)
* extract out zoombuttons component * newline Signed-off-by: Kerry Archibald <kerrya@element.io> * stylelint Signed-off-by: Kerry Archibald <kerrya@element.io> * remove skinned sdk Signed-off-by: Kerry Archibald <kerrya@element.io>
This commit is contained in:
parent
44d446be89
commit
df20821fd6
8 changed files with 242 additions and 2 deletions
|
@ -4,6 +4,8 @@ const { LngLat, NavigationControl } = require('maplibre-gl');
|
|||
class MockMap extends EventEmitter {
|
||||
addControl = jest.fn();
|
||||
removeControl = jest.fn();
|
||||
zoomIn = jest.fn();
|
||||
zoomOut = jest.fn();
|
||||
}
|
||||
const MockMapInstance = new MockMap();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue