Merge pull request #9542 from awanlin/topic/update-empty-flag
Updated EmptyFlags code example
This commit is contained in:
@@ -22,9 +22,7 @@ const EXAMPLE = `import { createPlugin } from '@backstage/core-plugin-api';
|
||||
|
||||
export default createPlugin({
|
||||
id: 'plugin-name',
|
||||
register({ router, featureFlags }) {
|
||||
featureFlags.register('enable-example-feature');
|
||||
},
|
||||
featureFlags: [{ name: 'enable-example-feature' }],
|
||||
});
|
||||
`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user