Hi,
It should be useful for my use case to put a css class or/and css styles directly to the <div class="tree-node"> element.
Should it be possible to add a prop to the Draggable component, something like:
<Draggable
:items="items"
text-key="text"
style-key="style"
css-key="css"
/>
const items = [
{
text: 'test 1',
style: { backgroundColor: 'red' },
css: 'some-class-1'
},
{
text: 'test 2',
style: { backgroundColor: 'green' },
css: 'some-class-2'
}
]
Thanks