AlvaroBernalG/react-switchable

CustomOverlay not optional with Typescript

kwesihackman opened this issue · 0 comments

When using typescript the customer overlay property is required. According to the API documentation that should be optional and in fact when using regular js file it works fine. Attached is a screengrab of the main.d.ts file which confirms the custom overlay is required.

ts