Commit Graph

4 Commits

Author SHA1 Message Date
Robin Luiten
f327f7cc69 Update types for react-sidebar 3.0.0
Added test case to check new properties are optional.
2018-08-07 20:47:16 +10:00
Christopher Deutsch
ad30dc660f Add missing open parameter to onSetOpen, which is pretty important if you use it. (#25519)
Add missing `defaultSidebarWidth` prop.

Declare `sidebar` as a more restrictive/accurate type.
2018-05-04 13:50:44 -07:00
Eirikur Nilsson
85762b3be6 Fix callbacks in react-portal and react-sidebar
This is a common pitfall when writing definitions. See discussion here:

https://github.com/DefinitelyTyped/DefinitelyTyped/pull/15526#issuecomment-322781094
2017-08-16 19:49:31 +00:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00