Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond committed Feb 6, 2024
1 parent 32f0eb4 commit 2d62bf4
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/iotMapManager/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
14.21.3
21 changes: 21 additions & 0 deletions src/stories/Test.stories.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// import { IotMapConfig, IotMapManager, IotMapMarkerManager } from 'iotmapmanager/dist';

export default {
title: 'Example/Test',
render: () => `<h1>Test</h1>`,
// render: () => `<div id="iotMap" style="width: 1280px; height: 720px"></div>`,
parameters: {
// More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
layout: 'fullscreen',
},
};

export const Test1 = {
play: async ({ canvasElement }) => {
console.log('play');
/* let config = new IotMapConfig()
let mapManager = new IotMapManager(config);
let markerManager = new IotMapMarkerManager(mapManager, config)
mapManager.init('iotMap'); */
}
};

0 comments on commit 2d62bf4

Please sign in to comment.