UNPKG

infocharts

Version:

<img src="https://raw.githubusercontent.com/garethslinn/public_infocharts/refs/heads/main/logo.svg" />

27 lines 607 B
import React from 'react'; import './styles/infocharts.scss'; interface Segment { value: number; color?: string; textColor?: string; } interface DataItem { description: string; segments: Segment[]; } interface LegendItem { label: string; color: string; } interface StackedRowProps { data: DataItem[]; legend?: LegendItem[]; background: string; textColor: string; defaultColors: string[]; explanation?: string; barWidth?: string; } declare const StackedRow: React.FC<StackedRowProps>; export default StackedRow; //# sourceMappingURL=StackedRow.d.ts.map