Skip to content

Tree: Allow label to be a React node #1499

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

Merged
merged 1 commit into from
Aug 16, 2018

Conversation

interactivellama
Copy link
Contributor

This allows icons and formatting with spans if it is needed. Both are outside the SLDS spec, but should be allowed with designer direction. This is already present in item and branch sub components, but was overlooked when added to Tree's top level propTypes

This allows icons and formating with spans if it is needed.
@interactivellama interactivellama changed the title Tree: Allow label to be a node Tree: Allow label to be a React node Aug 10, 2018
@futuremint futuremint merged commit 4c61ceb into salesforce:master Aug 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants