Skip to content
This repository has been archived by the owner on May 14, 2020. It is now read-only.

The arguments for labelRender API was wrong #113

Closed
nealzhu opened this issue Dec 8, 2018 · 1 comment
Closed

The arguments for labelRender API was wrong #113

nealzhu opened this issue Dec 8, 2018 · 1 comment

Comments

@nealzhu
Copy link

nealzhu commented Dec 8, 2018

image

The arguments for labelRenderer should have path info, but now it's not.
Seems valueRenderer has the appearance.
See here in your code.

@nealzhu
Copy link
Author

nealzhu commented Dec 8, 2018

Sorry it's document problem.
keypath is the path, but in document the demo is labelRenderer={raw => <strong>{raw}</strong>}, it shoule be labelRenderer={path => <strong>{path[0]}</strong>}

@nealzhu nealzhu closed this as completed Dec 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant