graphiql,app: export icon and avoid routeRef usage in SidebarItem

Co-authored-by: Juan Lulkin <jmaiz@spotify.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2021-03-10 15:51:47 +01:00
parent 9804a5273e
commit 09eb54e014
3 changed files with 11 additions and 6 deletions
+4
View File
@@ -14,6 +14,9 @@
* limitations under the License.
*/
import { IconComponent } from '@backstage/core';
import GraphiQLIconComponent from './assets/graphiql.icon.svg';
export {
graphiqlPlugin,
graphiqlPlugin as plugin,
@@ -22,3 +25,4 @@ export {
export { GraphiQLPage as Router } from './components';
export * from './lib/api';
export * from './route-refs';
export const GraphiQLIcon: IconComponent = GraphiQLIconComponent;