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

Incorrect PropType for children throwing warning. #1043

Open
karlshea opened this issue Jan 9, 2025 · 1 comment · May be fixed by #1044
Open

Incorrect PropType for children throwing warning. #1043

karlshea opened this issue Jan 9, 2025 · 1 comment · May be fixed by #1044

Comments

@karlshea
Copy link

karlshea commented Jan 9, 2025

Warning: Failed prop type: Invalid prop childrenof typeobjectsupplied toSticky, expected a single ReactElement type.

The children prop should be PropTypes.element, not PropTypes.elementType.

@karlshea karlshea linked a pull request Jan 9, 2025 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants
@karlshea and others