reactjs-popup icon indicating copy to clipboard operation
reactjs-popup copied to clipboard

Missing Function Child Signature In Types

Open kwameopareasiedu opened this issue 8 months ago • 0 comments

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.

image

As you can see from the types, the children does not have the signature for a function child. image

kwameopareasiedu avatar Oct 11 '23 00:10 kwameopareasiedu