We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Issue: `node_modules/react-visibility-sensor/index.d.ts:34:38 - error TS2694: Namespace 'React' has no exported member 'StatelessComponent'.
34 const ReactVisibilitySensor: React.StatelessComponent; ~~~~~~~~~~~~~~~~~~
Found 1 error in node_modules/react-visibility-sensor/index.d.ts:34`
React: 18.2.0
Probable Solution: In index.d.ts at line 34. replace const ReactVisibilitySensor: React.StatelessComponent<Props>;
const ReactVisibilitySensor: React.StatelessComponent<Props>;
with
const ReactVisibilitySensor: React.FC<Props>;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue: `node_modules/react-visibility-sensor/index.d.ts:34:38 - error TS2694: Namespace 'React' has no exported member 'StatelessComponent'.
34 const ReactVisibilitySensor: React.StatelessComponent;
~~~~~~~~~~~~~~~~~~
Found 1 error in node_modules/react-visibility-sensor/index.d.ts:34`
React: 18.2.0
Probable Solution: In index.d.ts at line 34. replace
const ReactVisibilitySensor: React.StatelessComponent<Props>;
with
const ReactVisibilitySensor: React.FC<Props>;
The text was updated successfully, but these errors were encountered: