feat: add LabelList component Storybook story#7244
Conversation
Implements storybook/API story for the LabelList component covering all props from the recharts API docs (angle, clockWise, content, dataKey, formatter, id, offset, position, textBreakAll, valueAccessor, zIndex). Adds API (LineChart), OnBarChart, OnRadarChart, WithCustomContent, and WithFormatter story variants to demonstrate LabelList across chart types. Closes recharts#3739 Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughUpdated ChangesLabelList Storybook Story Expansion
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested reviewers
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7244 +/- ##
=======================================
Coverage 89.07% 89.07%
=======================================
Files 539 539
Lines 41010 41010
Branches 5557 5557
=======================================
Hits 36528 36528
Misses 4474 4474
Partials 8 8 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Bundle ReportBundle size has no change ✅ |
Summary
LabelListcomponent, resolving LabelList Story #3739angle,clockWise,content,dataKey,formatter,id,offset,position,textBreakAll,valueAccessor,zIndexLabelListArgs(auto-generated byomnidoc) for argTypes, following the same pattern asLine.stories.tsxStories added
APILineChartOnBarChartBarChartOnRadarChartRadarChartclockWiseprop in a polar/radar contextWithCustomContentBarChartcontentprop with a custom rendererWithFormatterBarChartformatterprop for custom label textTest plan
npm run omnidocto generatestorybook/stories/API/arg-types/LabelListArgs.tsnpm run storybookand navigate to Component / LabelListAPIstory exposes all LabelList props with correct default values🤖 Generated with Claude Code
Summary by CodeRabbit
Release Notes