From b43f8f34a5c186c562202c280323da41600744b3 Mon Sep 17 00:00:00 2001 From: Tim Hansen Date: Thu, 8 Oct 2020 15:21:58 -0600 Subject: [PATCH] Add BarChart, LegendItem exports for easier custom alerts --- plugins/cost-insights/src/components/index.ts | 18 ++++++++++++++++++ plugins/cost-insights/src/index.ts | 1 + 2 files changed, 19 insertions(+) create mode 100644 plugins/cost-insights/src/components/index.ts diff --git a/plugins/cost-insights/src/components/index.ts b/plugins/cost-insights/src/components/index.ts new file mode 100644 index 0000000000..a24a28e4f1 --- /dev/null +++ b/plugins/cost-insights/src/components/index.ts @@ -0,0 +1,18 @@ +/* + * Copyright 2020 Spotify AB + * + * 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 { default as BarChart } from './BarChart'; +export { default as LegendItem } from './LegendItem'; diff --git a/plugins/cost-insights/src/index.ts b/plugins/cost-insights/src/index.ts index cf7aa3ea8c..a46857f077 100644 --- a/plugins/cost-insights/src/index.ts +++ b/plugins/cost-insights/src/index.ts @@ -16,4 +16,5 @@ export { plugin } from './plugin'; export * from './api'; +export * from './components'; export * from './types';