Pass activeText as a object
from
{renderActiveText && ( <Text style={[styles.text, styles.paddingRight, activeTextStyle]}> activeText </Text> )}
to
{renderActiveText && ( <Text style={[styles.text, styles.paddingRight, activeTextStyle]}> {activeText} </Text> )}
Hi @sanjeev141985. Can you please open a PR ? I'll merge it right away.
Thanks.
What is the status on this?
The code has been changed but I am not sure about npm installation.
On Fri, Aug 3, 2018 at 8:08 AM Carlos Alcazar [email protected] wrote:
What is the status on this?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/shahen94/react-native-switch/issues/36#issuecomment-410126866, or mute the thread https://github.com/notifications/unsubscribe-auth/AFGoo5DCB1Qs0pqzQIWogQgxl14kgnd6ks5uM7efgaJpZM4Tk1jH .
-- Regards Sanjeev kr. sharma
The change isn't there in the package, when added using yarn add