Have to revert this. Didn't vet as much as I should have (or at all honestly given reviewers).
Here are my issues.
PR introduces TS errors, preventing the build. Did you npm run lint?
I got
Argument of type 'Clickable' is not assignable to parameter of type 'SetStateAction...,
Type 'string' is not assignable to type 'SetStateAction...
We need to make sure that the clickables prop in CursorCore is provided as an array of clickable selectors, as defined in the AnimatedCursorProps type.
Reverts stephenscaff/react-animated-cursor#45
Have to revert this. Didn't vet as much as I should have (or at all honestly given reviewers).
Here are my issues.
npm run lint
? I gotWe need to make sure that the
clickables
prop inCursorCore
is provided as an array of clickable selectors, as defined in theAnimatedCursorProps
type.Keep it TS now - Find.js should be find.ts, something like this
Provide demo and docs. Add new cursor example to the Demo. Update readme docs with example setup in the Cursor Types section.