What's Changed
Fix some older bugs annoying bugs, TS typings, update to the storybook theme, and more
Fix
ResponsiveContainer
: fixref.current.current
without breaking users using current implementation by @HHongSeungWoo in #4008 - closes #3718Brush
: Allow Brush to be controlled with start and end index via state by @ckifer in #4034 - closes #2404Legend
: TypeScript - Add the dataKey type to legend props by @HHongSeungWoo in #4035 - closes #2909Pie
: TypeScript - addedpayload
toPieSectorDataItem
type by @PavelVanecek in #4030Pie
: unique sector keys fix by @imagineLife in #4009 closes #3273RadialBar
: allow className to be passed to Radial Bar background by @ckifer in #4027 - closes #4011
Storybook
- Storybook: Added Legend component story! by @AnujSharma141 in #4039
- Storybook: add controlled brush storybook entry by @ckifer in #4032
- Storybook: Custom Storybook theme for Recharts brand by @csdiehl in #4016
New Contributors
- @csdiehl made their first contribution in #4016
- @AnujSharma141 made their first contribution in #4039
Full Changelog: v2.10.3...v2.10.4