React integration not working but on marketplace working perfectly

We created a rive in which there are three states based on input number as you can see here - https://rive.app/community/files/27433-51838-test/ (different number ranges - <1000, 1000<= numberProporty<=2500 and >2500

After uploading on marketplace and in rive editor its working fine but in our react integration its not working. In our three states there is background change and animation, in react integration - number and its component color changes but main background and animation does not get triggered so not sure what we are doing wrong.

We are using @rive-app/react-canvas version - 4.27.3

Which is the best recommended package for react integration


Screen Recording 2026-04-27 at 2.37.58 PM.mov