Merge pull request #7135 from julioz/patch-1

Fix import for createPlugin in example snippet
This commit is contained in:
Ben Lambert
2021-09-13 13:10:57 +02:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-user-settings': patch
---
Fix import for `createPlugin` in example snippet
@@ -18,7 +18,7 @@ import React from 'react';
import { Button, Typography } from '@material-ui/core';
import { CodeSnippet, EmptyState } from '@backstage/core-components';
const EXAMPLE = `import { createPlugin } from '@backstage/core';
const EXAMPLE = `import { createPlugin } from '@backstage/core-plugin-api';
export default createPlugin({
id: 'plugin-name',