sghall/react-compound-slider

the name of Ticks is undefined

chenzhutian opened this issue · 2 comments

Problem or feature description:

Since Ticks is an anonymous function, its name is undefined.
Thus, isRCSComponent will return true if pass in a dom.

Steps to reproduce (for problems):

just put a

into slider

<Slider>
        <div>

        </div>
</Slider>

image

Thanks for reporting this! That should be fixed now in version 3.3.0 so try it out and let me know if there's any issues.

awesome!