With the basic example, I get lot of warnings to console, for example:
"Warning: React does not recognize the childCount
prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase childcount
instead. If you accidentally passed it from a parent component, remove it from the DOM element."
Similar warnings for other props like isLast, disableSorting etc. In a bit further implementation, still mainly very similar to basic example, same goes also with indentationWidth, wrapperRef, disableSelection, disableInteraction, handleProps
also getting:
"Warning: Received false
for a non-boolean attribute collapsed
."
"Warning: Received false
for a non-boolean attribute ghost
."
"Warning: Unknown event handler property onCollapse
. It will be ignored."
"Warning: Unknown event handler property onRemove
. It will be ignored."
They are warnings not errors, but anyway.