Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for react-native-web #973

Open
2 tasks done
varunkumar2 opened this issue Dec 24, 2018 · 3 comments
Open
2 tasks done

Support for react-native-web #973

varunkumar2 opened this issue Dec 24, 2018 · 3 comments

Comments

@varunkumar2
Copy link

varunkumar2 commented Dec 24, 2018

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.

@obj-dayao
Copy link

obj-dayao commented Jan 21, 2019

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

@varunon9
Copy link

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

@jonmadison
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants