Skip to content

No way to set Image defined on VIewModel through DataBinding ? #363

@rlods

Description

@rlods

Description

DataBinding supports Number, String, Boolean, Color, Trigger, Enum, Image, List, Nesting, etc.

Image

But rive-react-native (9.5.0) only exports the following utility hooks to set DataBindings:

  • useRiveBoolean
  • useRiveString
  • useRiveNumber
  • useRiveEnum
  • useRiveColor
  • useRiveTrigger

Nothing for other types like Image

Do you confirm it's not possible today with rive-react-native to handle dynamic Images on ViewModels while it's supported by the Editor?

Is it planned?

Thanks in advance

Expected behavior

Have a way to control Images on ViewModels dynamically

Device & Versions (please complete the following information)

  • Device: Any
  • OS: Any

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions