react-venn-diagram
Version:
A Venn diagram React component
25 lines • 586 B
TypeScript
import React from 'react';
interface VennDiagramProps {
data: {
a: number;
b: number;
intersection: number;
};
width: number;
height: number;
labels?: {
labelA?: string;
labelB?: string;
labelIntersection?: string;
};
colors?: {
colorA?: string;
colorB?: string;
fontColorA?: string;
fontColorB?: string;
fontColorIntersection?: string;
};
}
declare const VennDiagram: React.FC<VennDiagramProps>;
export default VennDiagram;
//# sourceMappingURL=VennDiagram.d.ts.map