({children, ...props})
| 7 | |
| 8 | // eslint-disable-next-line react/prop-types |
| 9 | export const BarChart: typeof BarChartDecl = ({children, ...props}) => { |
| 10 | const initialSummary = useInitialSeriesSummary(BAR, props); |
| 11 | const [sourceProps, seriesProps] = getConvenienceChartProps(props); |
| 12 | |
| 13 | return ( |
| 14 | <CartesianChart {...sourceProps} initialSummary={initialSummary}> |
| 15 | <BarSeries {...seriesProps} /> |
| 16 | {children} |
| 17 | </CartesianChart> |
| 18 | ); |
| 19 | }; |
no test coverage detected
searching dependent graphs…