Skip to content

Conversation

mjforan
Copy link

@mjforan mjforan commented Dec 2, 2022

JavaScript doesn't have separate integer and float types, just "number". You can see the available prop types here. This was causing the console to display Warning: Failed prop type: ReactNipple: prop type `options.size` is invalid; it must be a function, usually from the `prop-types` package, but received `undefined`.

@jasonmcleod
Copy link

Stoked to see this fix. Hoping it will get merged 🤞

Thanks @mjforan

@mjforan
Copy link
Author

mjforan commented Apr 5, 2023

Looks like this repo is dead. New npm package here, with the prop types fix:
https://www.npmjs.com/package/@mjforan/react-nipple

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 this pull request may close these issues.

2 participants