birbmap/Birdmap.API/ClientApp/src/contexts/DevicesContext.js

12 lines
242 B
JavaScript
Raw Normal View History

2020-11-17 18:58:28 +01:00
import React from 'react';
export default React.createContext({
devices: [],
heatmapPoints: [],
addHandler: (_, __) => { },
2020-11-18 12:04:32 +01:00
removeHandler: (_, __) => { },
2020-11-18 18:34:48 +01:00
updateDevice: () => { },
updateAllDevices: () => { },
2020-11-17 18:58:28 +01:00
});