// components import Spring from '@components/Spring'; import LegendItem from '@ui/LegendItem'; import {Radar, RadarChart, PolarGrid, PolarAngleAxis, ResponsiveContainer, Tooltip} from 'recharts'; import ChartTooltip from '@ui/ChartTooltip'; // hooks import {useWindowSize} from 'react-use'; // utils import {renderPolarAngleAxis} from '@utils/helpers'; const PassesPolarChart = () => { const {width} = useWindowSize() const data = [ {value: 'shots', a: 10, b: 15}, {value: 'crosses', a: 20, b: 7}, {value: 'outs', a: 12, b: 22}, {value: 'saves', a: 25, b: 6}, {value: 'corners', a: 8, b: 18}, {value: 'passes', a: 14, b: 28} ] return (

Passes stats

= 768 ? 'flex-1' : ''} style={{height: 240}}> renderPolarAngleAxis(props)} cx="50%" cy="50%" style={{ textTransform: 'uppercase', fontFamily: 'var(--heading-font)', fontSize: '8px', fontWeight: '600', }} /> }/>
) } export default PassesPolarChart