user-settings: port to new composability API
This commit is contained in:
@@ -13,7 +13,15 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { createDevApp } from '@backstage/dev-utils';
|
||||
import { plugin } from '../src/plugin';
|
||||
|
||||
createDevApp().registerPlugin(plugin).render();
|
||||
import React from 'react';
|
||||
import { createDevApp } from '@backstage/dev-utils';
|
||||
import { userSettingsPlugin, UserSettingsPage } from '../src/plugin';
|
||||
|
||||
createDevApp()
|
||||
.registerPlugin(userSettingsPlugin)
|
||||
.addPage({
|
||||
title: 'Settings',
|
||||
element: <UserSettingsPage />,
|
||||
})
|
||||
.render();
|
||||
|
||||
Reference in New Issue
Block a user