react-native-scrollable-tab-view
react-native-scrollable-tab-view copied to clipboard
Support for react-native-web
trafficstars
- [x] I have searched existing issues
- [x] I am using the latest scrollable tab view version
It would be great if this component supports react-native-web as well.
Steps to Reproduce
Using this component in web (using react-native-web).
Expected Behavior
There should not be any error and it should render properly in browsers.
Actual Behavior
Getting undefined rendering error.
When will probably support react-native-web ?very expecting。
I implemented a very basic version here https://github.com/varunon9/react-native-web-scrollable-tab-view
Thanks for this! It's currently throwing an error that i'm investigating, but in case you know how to solve this more quickly:)
Module parse failed: Unexpected token (33:11)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| return React.cloneElement(this.props.renderTabBar(), props);
| }
> return <ScrollableTabBar { ...props} />
| }
| ```