jasongaare / react-native-walkthrough-tooltip

An inline wrapper for calling out React Native components via tooltip
MIT License
610 stars 182 forks source link

backgroundStyle prop is usable now to make the backdrop customizable #176

Open WrathChaos opened 1 year ago

WrathChaos commented 1 year ago

We cannot customize the backgroundStyle of the tooltip and even we could not hide the backdrop.

Now, we can do it :)

Also solves #169

Example usage:

 <Tooltip
     isVisible={isVisible}
     content={<Text>Check this out!</Text>}
     backgroundStyle={{ backgroundColor: 'transparent' }}>
        <TextInput
              placeholder={emailPlaceholder}
              onChangeText={handleEmailChange}
              autoCapitalize="none"
              {...emailTextInputProps}
         />
</Tooltip>