Merge pull request #5080 from backstage/export-component-types

fix missing type exports
This commit is contained in:
Ryan Vazquez
2021-03-24 12:21:07 -04:00
committed by GitHub
4 changed files with 29 additions and 6 deletions
@@ -14,7 +14,5 @@
* limitations under the License.
*/
export { CostGrowth } from './CostGrowth';
export type { CostGrowthProps } from './CostGrowth';
export { CostGrowthIndicator } from './CostGrowthIndicator';
export type { CostGrowthIndicatorProps } from './CostGrowthIndicator';
export * from './CostGrowth';
export * from './CostGrowthIndicator';
@@ -14,4 +14,4 @@
* limitations under the License.
*/
export { LegendItem } from './LegendItem';
export * from './LegendItem';
+21 -1
View File
@@ -22,8 +22,28 @@ export {
CostInsightsLabelDataflowInstructionsPage,
} from './plugin';
export { ExampleCostInsightsClient } from './example';
export { BarChart, LegendItem, CostGrowth } from './components';
export {
BarChart,
BarChartLegend,
BarChartTooltip,
BarChartTooltipItem,
CostGrowth,
CostGrowthIndicator,
LegendItem,
} from './components';
export { MockConfigProvider, MockCurrencyProvider } from './testUtils';
export * from './api';
export * from './alerts';
export * from './types';
export type {
BarChartProps,
BarChartLegendOptions,
BarChartLegendProps,
BarChartTooltipProps,
BarChartTooltipItemProps,
CostGrowthProps,
CostGrowthIndicatorProps,
TooltipItem,
LegendItemProps,
} from './components';