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 placeholder 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 9f9cdbf commit 0db5189
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/widgets/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ 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 { widget as placeholderWidget } from './placeholder-widget';
// IMPORT_INSERT_MARK

export const projectWidgets: Widget[] = [
// ARRAY_FIRST_ELEMENT_INSERT_MARK
placeholderWidget,
gpsDetails,
spectrogramWidget,
mapWidget,
Expand Down
7 changes: 7 additions & 0 deletions src/widgets/placeholder-widget/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: 'placeholderWidget',
Widget: WidgetRenderer
};
5 changes: 5 additions & 0 deletions src/widgets/placeholder-widget/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}>placeholderWidget widget</Heading>;
}

0 comments on commit 0db5189

Please sign in to comment.