We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I do this
class Foo extends React.Component { renderTooltip = (...args) => { console.info('tooltip', args); return (<p>test</p>); } render() { const { data, axes } = this.props; return ( <Chart primaryCursor tooltip={this.renderTooltip} data={data} axes={axes} /> ); } }
I got
Warning: Failed prop type: Invalid prop `tooltip` supplied to `HookWrapper`.
And it not work.
Can it support class component?
The text was updated successfully, but these errors were encountered:
I got the same issue. Is the prop for custom tooltips still supported or did it get removed?
Sorry, something went wrong.
@chym123 @mjoswig is this still an issue for you on the latest version of react-charts?
react-charts
The latest beta has a whole new API contract for rendering custom tooltips. Closing this for triage.
No branches or pull requests
When I do this
I got
And it not work.
Can it support class component?
The text was updated successfully, but these errors were encountered: