salesforce / salesforce/design-system-react
Tree: Expand Button text is hard-coded and cannot be changed by consumer
Open
@AnutaK is already working on this.
Since Jun 7, 2019.
tree
- Dominant language
- JavaScript
- Stars
- 982
- Forks
- 440
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 4
Description
"Expand Tree Branch" text is not able to be changed by library consumers.
I propose updating Tree props to:
assistiveText: PropTypes.shape({
label: PropTypes.string,
expandBranchLabel: PropTypes.string,
}),
expandBranchLabel default value is "Expand Tree Branch".
https://github.com/salesforce/design-system-react/blob/master/components/tree/index.jsx#L28
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.