uptick / react-keyed-file-browser

Folder based file browser given a flat keyed list of objects, powered by React.
MIT License
298 stars 144 forks source link

feature: Exposing component methods (forwardRef) #187

Open tmarcinkowski-logitech opened 3 years ago

tmarcinkowski-logitech commented 3 years ago

Description

According to React documentation, this is a breaking change. Unfortunately, this is the only way to use methods like toggleFolder or manipulate a component's state from the outside.

Changelog

How Has This Been Tested?

Checklist:

derekzernach commented 3 years ago

Would love to see this added, in previous versions I was able to open folders when the file browser loaded and I can't seem to do this anymore.