react-animated-tree
Simple to use, configurable tree view with full support for drop-in animations.
content
, Name of the node (string or React-component)type
, optional description, good for displaying icons, too (string or React-component)open
, optional: default open statecanHide
, optional: when set true displays an eye iconvisible
, optional: default visible stateonClick
, optional: click events on the eyespringConfig
, optional: react-spring animation config
Create your own effects by passing a react-spring config. The config below is the default (items fade in while moving in 20px from the right). You can go wild here by rotating, flipping, etc.