Missing 'colorBy' type in BarSvgProps
See original GitHub issueI created a ResponsiveBarChart
and I added colors
and colorBy
props to adjust the colors of the bars. How every TypeScript compiler complains about colorBy
prop being missed in the prop types. More specifically, colorBy
prop is not in BarProps
I would love to open a PR for this but couldn’t find a contribution guide so created this issue instead.
Funny that there are two workarounds in the screenshot for different Typescript issues.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
日本特売 新オリジナル6SX7010-0FF05 6SX7 010-0FF05 ...
Missing 'colorBy' type in BarSvgProps · Issue #1106 · plouc/nivo ... The Nonlinear Circuits Thread - Equipment - lines.
Read more >nivo - TypeScript definitions | bleepcoder.com
Hi! just wanted to mention that there are some type definitions missing for the ... [x] I think colorBy and tooltip should receive...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
To achieve the same results you would do this:
Me too, but couldn’t find it. Thanks so much for helping, again!
Hey @plouc - I just wanted to let you know about this thread. It might be very useful to have this info in https://nivo.rocks/guides/colors.