react-nipple
react-nipple copied to clipboard
fixed prop types
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`.
Stoked to see this fix. Hoping it will get merged 🤞
Thanks @mjforan
Looks like this repo is dead. New npm package here, with the prop types fix: https://www.npmjs.com/package/@mjforan/react-nipple