From 8f95e77fdcad3d9a1896ebdb505024a933cd4013 Mon Sep 17 00:00:00 2001 From: Santiago Barrera Date: Tue, 16 Jan 2024 11:52:40 -0500 Subject: [PATCH] Added documentation to the readme --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 3728ded..a4519ac 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,7 @@ The tooltip wraps an element _in place_ in your React Native rendering. When it | closeOnChildInteraction | bool | true | When child interaction is allowed, this prop determines if `onClose` should be called when the user interacts with the child element. Default is true (usually means the tooltip will dismiss once the user touches the element highlighted) | | closeOnContentInteraction | bool | true | this prop determines if `onClose` should be called when the user interacts with the content element. Default is true (usually means the tooltip will dismiss once the user touches the content element) | | content | function/Element | `` | This is the view displayed in the tooltip popover bubble | +| contentStyle | CSS | | Custom CSS to modify the tooltip as needed. | | displayInsets | object | { top: 24, bottom: 24, left: 24, right: 24 } | The number of pixels to inset the tooltip on the screen (think of it like padding). The tooltip bubble should never render outside of these insets, so you may need to adjust your `content` accordingly | | disableShadow | bool | false | When true, tooltips will not appear elevated. Disabling shadows will remove the warning: `RCTView has a shadow set but cannot calculate shadow efficiently` on IOS devices. | | isVisible | bool | false | When true, tooltip is displayed | |