-
-
Notifications
You must be signed in to change notification settings - Fork 46.9k
New issue
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
feature for breadcrumb #1999
Comments
i can make a pull request, if you want |
I like it, you can pr for that, and please keep downward compatibility of |
i will move current behaviour to default implementation for titleRender, so it will be backward compatible |
now it can be used like this:
|
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
add method to get title for route instead of using breadcrumbName.
Now it's using this code(Breadcrumb.js) to get title:
What i need:
where default titleRender is :
Why do i need it?
i'm using https://github.com/callum/redux-routing , but not react-router and i don't want to 'patch' routes to set breadcrumbName
i need custom logic - for first item, i want to draw icon, for rest i want text, now i do it like this:
In that case i would replace it with:
The text was updated successfully, but these errors were encountered: