frontend-collective / frontend-collective/react-sortable-tree
How to fill background color of a node
Open
question
- Dominant language
- JavaScript
- Stars
- 5k
- Forks
- 914
- PR merge metrics
- No merged PRs in 30d
Description
I would like to fill node background with another color other than white, however seems like not able to. Here is what I did.
```
this.setState({ treeData })}
canDrag = {false}
getNodeKey = {({node})=> node.id}
generateNodeProps={(({ node, path, treeIndex}) => {
return ({
title: (
/>
```
and this is how it looks. (I want color fill all the node background)

Please let me know how to resolve it.
thank you so much.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.