react-checkbox-tree
react-checkbox-tree copied to clipboard
Option to remove icon
Hi,
There's a way to remove the icons placed in the tree? I just want to work with the labels on it.
Thanks :)
@RodrigoCarvalho21 Right now you only have really one option. That is to set a CSS rule to hide the icon:
.rct-node-icon {
display: none;
}
I guess that works for now.
Thanks for the answer @jakezatecky 👍
Hi, any updates on that? Thanks
@jakezatecky Could it be an option that if you set the default icon to null that it doesn't render the wrapped span element? So for example if you set leaf: null then the wrapped <span class="rct-node-icon"></span> doesn't render either.
@JordyPouw Yes, that is something we could support.