We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Installed this npm using npm install --save react-native-switch. In my switch.js code was wrong. Change
npm install --save react-native-switch
{renderActiveText && ( <Text style={[styles.text, styles.paddingRight, activeTextStyle]}> activeText </Text> )}
to
{renderActiveText && ( <Text style={[styles.text, styles.paddingRight, activeTextStyle]}> {activeText} </Text> )}
in Switch.js
The text was updated successfully, but these errors were encountered:
I have the same Issue
Sorry, something went wrong.
I have changed the code in node_modules/react-native-switch/lib/Switch.js as I mentioned and it's working fine
Please use GitHub version instead of NPM and confirm that this issue is still relevant. Thanks.
Can this not be updated on npm?
No branches or pull requests
Installed this npm using
npm install --save react-native-switch
. In my switch.js code was wrong. Changeto
in Switch.js
The text was updated successfully, but these errors were encountered: