Open
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.
<SortableTree
treeData={this.state.treeData}
onChange={treeData => this.setState({ treeData })}
canDrag = {false}
getNodeKey = {({node})=> node.id}
generateNodeProps={(({ node, path, treeIndex}) => {
return ({
title: (
<div style={{height:'100%', width:'100%', backgroundColor:'cyan'}} >
<Checkbox
label= {node.name}
/>
</div>),})}}
/>
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.