react-native-walkthrough-tooltip icon indicating copy to clipboard operation
react-native-walkthrough-tooltip copied to clipboard

backgroundStyle prop is usable now to make the backdrop customizable

Open WrathChaos opened this issue 2 years ago • 0 comments
trafficstars

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>

WrathChaos avatar Mar 03 '23 20:03 WrathChaos