-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Hey there, I'm trying to work with some animation stuff and I'm having some difficulties. You may have seen my PR alread but I do have another issue that I'd like to understand how to fix it.
The interface IViewProperties inherits from IGestureResponderHandlers
| inherit IGestureResponderHandlers |
And I was wondering how I could pass it to the view.
I began creating an object:
let panResponderConfig = createEmpty<Fable.Import.ReactNative.PanResponderCallbacks>
let panResponder = RN.PanResponder.create(panResponderConfig)
But then, how am I suppose to pass panResponder.panHandlers to the view?
Usually with javascript this is done this way:
this._panResponder = PanResponder.create({ .... })
<View {...this._panResponder.panHandlers}>....</View>
How can I replicate JavaScript's spread operator and how can I pass that to IViewProperties?
Thanks
Metadata
Metadata
Assignees
Labels
No labels