import React from 'react'; type CustomizedDotProps = { cx: number; cy: number; r: number; strokeColor?: string; strokeWidth?: string; fillColor?: string; }; const CustomizedDot = (props: CustomizedDotProps) => { const { cx, cy, r, strokeColor, strokeWidth, fillColor } = props; return ( ); }; type CustomizedLegendProps = { strokeColor?: string; scatterName?: string; fillColor?: string; }; const CustomizedLegend = (props: CustomizedLegendProps) => { const { strokeColor, fillColor, scatterName } = props; return (
{scatterName}
); }; type CustomizedDotSmileProps = { cx: number; cy: number; value: number; }; const CustomizedDotSmile = (props: CustomizedDotSmileProps) => { const { cx, cy, value } = props; if (value > 2500) { return ( ); } return ( ); }; export { CustomizedDot, CustomizedLegend, CustomizedDotSmile };