Cannot pass legends as a prop for Waffle chart #2095
Unanswered
yotsaphonSutweha
asked this question in
Q&A
Replies: 1 comment
-
Yes, same problem. Pasted from the official example on the site, and the same error... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm trying to build a Waffle chart in my React project. I'm passing the legends prop to the waffle component and I got this error message "Property 'legends' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly<WaffleBaseProps & ColorProps & Partial<...> & Partial<...> & Dimensions> & Readonly<...>'." However, I saw on the example on nivo website with the prop being passed and the chart there is working fine.
My nivo/waffle version is 0.79.1 and my react version is 16.14.0.
Is someone experiencing the same issue? Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions