frontend-collective / frontend-collective/react-sortable-tree-theme-file-explorer

when i use node-content-renderer to Override the default component has a style problem

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
140
Forks
93
PR merge metrics
No merged PRs in 30d

Description

when i use the node-content-render to override the default component.
use the code like this
`
!node.dragDisabled}
canDrop={({nextParent}) => !nextParent || nextParent.isDirectory}
nodeContentRenderer = {FileThemeNodeContentRenderer}
generateNodeProps={rowInfo => ({
icons: rowInfo.node.isDirectory
? [
foldImg(rowInfo.node.expanded)
]
: [

,
],
buttons: [
alertNodeInfo(rowInfo)}
>
i

,
],
})}
/>
`
and has the style problem.
please tell me it's right way to override the file-explorer component?
please write back soon...it's emergency...

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.