File tree Expand file tree Collapse file tree 3 files changed +2
-2
lines changed
Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ import Tooltip from "react-native-tooltip-2";
3838 isVisible = { toolTipVisible }
3939 content = { <Text >Check this out!</Text >}
4040 placement = { Placement .TOP }
41- backgroundStyle = { {backgroundColor: ' transparent' }}
4241 onClose = { () => setToolTipVisible (false )} >
4342 <Pressable
4443 style = { styles .button }
Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ export type TooltipProps = typeof Tooltip.defaultProps & {
7777 placement ?: Placement ;
7878 displayInsets ?: PlacementType ;
7979 style ?: StyleProp < ViewStyle > ;
80+ contentStyle ?: StyleProp < ViewStyle > ;
8081 backgroundStyle ?: StyleProp < ViewStyle > ;
8182 parentWrapperStyle ?: StyleProp < ViewStyle > ;
8283 childrenWrapperStyle ?: StyleProp < ViewStyle > ;
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-tooltip-2" ,
3- "version" : " 0.1.0 " ,
3+ "version" : " 0.1.1 " ,
44 "description" : " Customizable, easy to use tooltip for React Native" ,
55 "main" : " ./build/dist/index.js" ,
66 "repository" : " git@github.com:WrathChaos/react-native-tooltip-2.git" ,
You can’t perform that action at this time.
0 commit comments