Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using renderButtons in typescript #6

Open
romanaccio opened this issue Feb 1, 2021 · 2 comments
Open

using renderButtons in typescript #6

romanaccio opened this issue Feb 1, 2021 · 2 comments

Comments

@romanaccio
Copy link

Hi
I am new to typescript and I'm having a hard time finding how to provide the renderButtons prop of component Swipeable in ts.

Could you provide a working example ?

Attaching screenshot of the ts errors in VS Code...

Capture d’écran 2021-02-01 à 17 42 00

Thanks for your help!
Antoine

@romanaccio
Copy link
Author

I guess what I need is a type definition file...

@shnigi
Copy link

shnigi commented Apr 6, 2022

Exactly same problem here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants