/// import { ScaleBand, ScaleLinear } from 'd3-scale'; import { Stack } from 'd3-shape'; import { IntergalacticD3Component } from '../../Plot'; type StackGroupData = { [key: string]: number; }; export type StackGroupProps = { children: React.ReactNode | React.ReactNode[]; data?: StackGroupData[]; x: keyof StackGroupData; scale?: [ScaleBand, ScaleLinear]; maxBarSize?: number; patterns?: any; dataHintsHandler?: any; stack?: Stack; r?: number; }; export type StackGroupBarProps = { y: keyof StackGroupData; group: string; hMin?: number; }; export type StackGroupType = IntergalacticD3Component<'g', StackGroupProps> & { Bar: IntergalacticD3Component<'path', StackGroupBarProps>; }; export {};