joshwcomeau / react-flip-move

Effortless animation between DOM changes (eg. list reordering) using the FLIP technique.
http://joshwcomeau.github.io/react-flip-move/examples
MIT License
4.09k stars 258 forks source link

Fix typescript typings and documentation section of typeName prop #210

Closed egorshulga closed 6 years ago

egorshulga commented 6 years ago

In readme it is mentioned that typeName accepts null. Previous typings did not allow to use it.

Also, there was a typo in documentation concerning typeName. Previously it was rendered like null was a default value.

joshwcomeau commented 6 years ago

Thanks @egorshulga!