Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
feat(widget): Initialize GPS details widget
Browse files Browse the repository at this point in the history
  • Loading branch information
fussel178 authored and Ludwig Richter committed Mar 11, 2021
1 parent 1bd0dc2 commit 9f9cdbf
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/widgets/gps-details/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { Widget } from '@wuespace/telestion-client-types';
import { Widget as WidgetRenderer } from './widget';

export const widget: Widget = {
name: 'gpsDetails',
Widget: WidgetRenderer
};
5 changes: 5 additions & 0 deletions src/widgets/gps-details/widget.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { Heading } from '@adobe/react-spectrum';

export function Widget() {
return <Heading level={2}>gpsDetails widget</Heading>;
}
2 changes: 2 additions & 0 deletions src/widgets/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ import { widget as stateWidget } from './state-widget';
import { widget as graphWidget } from './graph-widget';
import { widget as waveformWidget } from './waveform-widget';
import { widget as spectrogramWidget } from './spectrogram-widget';
import { widget as gpsDetails } from './gps-details';
// IMPORT_INSERT_MARK

export const projectWidgets: Widget[] = [
// ARRAY_FIRST_ELEMENT_INSERT_MARK
gpsDetails,
spectrogramWidget,
mapWidget,
stateWidget,
Expand Down

0 comments on commit 9f9cdbf

Please sign in to comment.