react-native-scrollable-tab-view icon indicating copy to clipboard operation
react-native-scrollable-tab-view copied to clipboard

Support for react-native-web

Open varunkumar2 opened this issue 6 years ago • 3 comments
trafficstars

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.

varunkumar2 avatar Dec 24 '18 12:12 varunkumar2

When will probably support react-native-web ?very expecting。

obj-dayao avatar Jan 21 '19 03:01 obj-dayao

I implemented a very basic version here https://github.com/varunon9/react-native-web-scrollable-tab-view

varunon9 avatar Jan 25 '19 07:01 varunon9

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} />
|   }
| ```

jonmadison avatar Nov 03 '21 19:11 jonmadison