react-dnd-treeview
react-dnd-treeview copied to clipboard
Add classes do `ul` item to make `li` items grid-like
Is it possible to to conditionally add classes to ul
element? I want to make leaf elements grid-like like below:
It is possible if ul
would have display:grid
or flex
. Can we do that? Even if its possible, can we then drag and drop these items horizontally or it will not work?