From 3f4830ff649f0a1d90dfd3383facac61e75aa633 Mon Sep 17 00:00:00 2001 From: victormorfin97 Date: Fri, 13 Aug 2021 13:35:28 -0500 Subject: [PATCH] export things to replicate the templateCard Signed-off-by: victormorfin97 --- .../src/components/FavouriteTemplate/index.ts | 17 +++++++++++++++++ plugins/scaffolder/src/index.ts | 2 ++ 2 files changed, 19 insertions(+) create mode 100644 plugins/scaffolder/src/components/FavouriteTemplate/index.ts diff --git a/plugins/scaffolder/src/components/FavouriteTemplate/index.ts b/plugins/scaffolder/src/components/FavouriteTemplate/index.ts new file mode 100644 index 0000000000..5955e88c01 --- /dev/null +++ b/plugins/scaffolder/src/components/FavouriteTemplate/index.ts @@ -0,0 +1,17 @@ +/* + * Copyright 2020 The Backstage Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export * from './FavouriteTemplate'; diff --git a/plugins/scaffolder/src/index.ts b/plugins/scaffolder/src/index.ts index 989b3b53ce..8a7dea1c34 100644 --- a/plugins/scaffolder/src/index.ts +++ b/plugins/scaffolder/src/index.ts @@ -37,3 +37,5 @@ export { RepoUrlPicker, TextValuePicker, } from './components/fields'; +export { FavouriteTemplate } from './components/FavouriteTemplate'; +export { rootRouteRef as scaffolderRootRouteRef } from './routes';