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

TypeError: mainStyles.thumbHorizontal is not a function #177

Open
Gogn opened this issue Mar 29, 2020 · 2 comments
Open

TypeError: mainStyles.thumbHorizontal is not a function #177

Gogn opened this issue Mar 29, 2020 · 2 comments

Comments

@Gogn
Copy link

Gogn commented Mar 29, 2020

Hello,

I used react-native-slider with Expo sdk-36.0.0 from react-native-elements 1.2.7:
import {Slider} from "react-native-elements"
(According to https://react-native-elements.github.io/react-native-elements/docs/slider.html :
This component is a forked implementation of react-native-slider)

When used, I get error:
TypeError: mainStyles.thumbHorizontal is not a function

Is it possible to use react-native-slider with Expo?

@vlajna95
Copy link

I have exactly the same problem, and I don't understand what's wrong. I checked the code of the slider component, but everything seems to be normal...

@mdlavin
Copy link

mdlavin commented Nov 6, 2020

I hit this problem with react-native-elements 2.0.x and Expo 38, but an upgrade of react-native-elements 2.3.x fixed it

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

3 participants