diff --git a/packages/patternfly-4/react-charts/src/components/ChartTheme/ChartTheme.d.ts b/packages/patternfly-4/react-charts/src/components/ChartTheme/ChartTheme.d.ts index f4ad51e350a..2016b14972e 100644 --- a/packages/patternfly-4/react-charts/src/components/ChartTheme/ChartTheme.d.ts +++ b/packages/patternfly-4/react-charts/src/components/ChartTheme/ChartTheme.d.ts @@ -1,15 +1,19 @@ -export const ChartBaseTheme = any; -export const ChartDonutTheme = any; +import { VictoryThemeInterface, VictoryThemeDefinition } from "victory"; -export interface ChartThemeColor { +interface ChartBaseThemeInterface extends VictoryThemeDefinition {} +interface ChartDonutThemeInterface extends VictoryThemeDefinition {} + +interface ChartThemeColorInterface { blue: string; default: string; green: string; multi: string; -}; +} -export interface ChartThemeVariant { +interface ChartThemeVariantInterface { dark: string; default: string; light: string; -}; +} + +export declare const ChartThemeColor: ChartThemeColorInterface, ChartThemeVariant: ChartThemeVariantInterface, ChartBaseTheme: ChartBaseThemeInterface, ChartDonutTheme: ChartDonutThemeInterface;