### Version 2.0.6 ### Expected Behavior According to the docs, I should be able to pass in a function which receives the close function as a parameter ### Actual Behavior The code works but the function child is missing from the types, causing a Typescript error.  As you can see from the types, the `children` does not have the signature for a function child. 