Closed soylemezali42 closed 2 years ago
I also cannot compile it because of the
render={renderProps =>
@soylemezali42 use proper import
import FacebookLogin from 'react-facebook-login/dist/facebook-login-render-props'
@soylemezali42 use proper import
import FacebookLogin from 'react-facebook-login/dist/facebook-login-render-props'
In typescript, I tried this solution, but it shows
Could not find a declaration file for module 'react-facebook-login/dist/facebook-login-render-props'. '/Users/username/node_modules/react-facebook-login/dist/facebook-login-render-props.js' implicitly has an 'any' type.
If the 'react-facebook-login' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-facebook-login`ts(7016)
same issue with me...
same issue here
Same here
Same issue
I cant find render function for FacebookLogin component. Also, icon props doesn't work properly, when i add "fab fa-facebook-f" fontawesome icon class. The Component renders "fa fab fa-facebook-f" class on dom element.