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

Theme not applying on latest version of react-sortable-tree

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

Description

I am using the following versions :-

- react-sortable-tree 2.8
- react-sortable-tree-theme-file-explorer 2.0.0
- next 9.4.4

I have used it as follows :-
```
const FileExplorerTheme = dynamic(() => import("react-sortable-tree-theme-file-explorer"), {
ssr: false
});

```
I am getting following warning and the theme is not getting applied:-

```
Warning: Failed prop type: Invalid prop `theme` of type `function` supplied to `ReactSortableTree`, expected `object`.
```

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.