import React from 'react' export interface ChartProps { data: Array position: string color?: string } interface MetricCardProps extends ChartProps { className?: string } export const defaultMetricCardProps = { className: '', data: [] as Array, position: '' } type NativeAttrs = Omit, keyof MetricCardProps> export type MetricCardComponentProps = MetricCardProps & typeof defaultMetricCardProps & NativeAttrs