tech-radar: migrated to new composability API

This commit is contained in:
Patrik Oldsberg
2021-02-10 18:16:21 +01:00
parent 53d3e2d626
commit 804502a5c7
5 changed files with 42 additions and 8 deletions
+9 -2
View File
@@ -14,7 +14,14 @@
* limitations under the License.
*/
import React from 'react';
import { createDevApp } from '@backstage/dev-utils';
import { plugin } from '../src';
import { techRadarPlugin, TechRadarPage } from '../src';
createDevApp().registerPlugin(plugin).render();
createDevApp()
.registerPlugin(techRadarPlugin)
.addPage({
title: 'Tech Radar',
element: <TechRadarPage width={1280} height={720} />,
})
.render();