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
- 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.