I'm making a Tree with Antd, I have to change the background-color of the .ant-tree-checkbox-inner class dynamically by the color property in treeData. But the tree just a component, so I can't change the style of treeNode.
.ant-tree-checkbox-inner
color
treeData
How can I change it?
My code: https://codesandbox.io/s/omf6o?file=/index.js
1.4m articles
1.4m replys
5 comments
57.0k users