In scrollable.js:
static displayName = `Scrollable(${getDisplayName(DecoratedComponent)})`;
static DecoratedComponent = DecoratedComponent;
But according to this issue static assignment is not valid.
I've tried using react-native-scrollable-decorator, and RN does indeed barf at the Unexpected token '='.
In
scrollable.js:But according to this issue static assignment is not valid.
I've tried using
react-native-scrollable-decorator, and RN does indeed barf at the Unexpected token '='.