Closed Waltari10 closed 4 years ago
Everytime I try give functions as props I forgot about angularJS retarded naming conventions.
So
<list-item
myFunc="listVm.myFunc"
></list-item>
To
<list-item
my-func="listVm.myFunc"
></list-item>
And it works!
Hey, love the package. It indeed is super simple. However I struggle to pass any functions to my React component.
And where i use it:
So how to get functions as props to work?