You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `isVisible` | `boolean` | ✅ | `undefined` | Determines whether the tooltip is visible or not. |
158
-
| `renderContent` | `() => ReactNode` | ✅ | `undefined` | the content of the tooltip |
159
-
| `children` | `ReactNode` | ✅ | `undefined` | the children component that the tooltip will point to |
160
-
| `withOverlay` | `boolean` | ❌ | `undefined` | whether or not to render overlay behind the `children` and the `Tooltip` |
161
-
| `onDismiss` | `() => void` | ❌ | `undefined` | a function to be called when the user presses on the overlay |
162
-
| `overlayStyle` | `ViewStyle` | ❌ | `undefined` | a style object to customize how `Overlay` looks |
163
-
| `offset` | `number` | ❌ | `0` | a distance added between the `Tooltip` and the `children`, Please note that the `Pointer` size is calculated separately |
164
-
| `pointerStyle` | `ViewStyle` | ❌ | `undefined` | a style object to customize `Pointer` looks, <br />Please note: the only available styles in only `width` and `height` |
165
-
| `pointerColor` | `string` | ❌ | `"#000000"` | The `Pointer`'s color |
166
-
| `position` | `string` | ❌ | `top` | `top`, `bottom`, `left`, and `right`, to control the placement of the `Tooltip` |
167
-
| `timingConfig` | `WithTimingConfig` | ❌ | `{ duration: 300 }` | the timing config for animating opening and closing of the `Tooltip` and `Overlay`, <br />Please note: that is from [`react-native-reanimated`](https://docs.swmansion.com/react-native-reanimated/docs/api/animations/withTiming) |
168
-
| `childrenStyle` | `ViewStyle` | ❌ | `undefined` | the style of `children` |
| ✅ | `isVisible` | `boolean` | `undefined` | Determines whether the tooltip is visible or not. |
158
+
| ✅ | `renderContent` | `() => ReactNode` | `undefined` | the content of the tooltip |
159
+
| ✅ | `children` | `ReactNode` | `undefined` | the children component that the tooltip will point to |
160
+
| ❌ | `withOverlay` | `boolean` | `undefined` | whether or not to render overlay behind the `children` and the `Tooltip` |
161
+
| ❌ | `onDismiss` | `() => void` | `undefined` | a function to be called when the user presses on the overlay |
162
+
| ❌ | `overlayStyle` | `ViewStyle` | `undefined` | a style object to customize how `Overlay` looks |
163
+
| ❌ | `offset` | `number` | `0` | a distance added between the `Tooltip` and the `children`, Please note that the `Pointer` size is calculated separately |
164
+
| ❌ | `pointerStyle` | `ViewStyle` | `undefined` | a style object to customize `Pointer` looks, <br />Please note: the only available styles in only `width` and `height` |
165
+
| ❌ | `pointerColor` | `string` | `"#000000"` | The `Pointer`'s color |
166
+
| ❌ | `position` | `string` | `top` | `top`, `bottom`, `left`, and `right`, to control the placement of the `Tooltip` |
167
+
| ❌ | `timingConfig` | `WithTimingConfig` | `{ duration: 300 }` | the timing config for animating opening and closing of the `Tooltip` and `Overlay`, <br />Please note: that is from [`react-native-reanimated`](https://docs.swmansion.com/react-native-reanimated/docs/api/animations/withTiming) |
168
+
| ❌ | `childrenStyle` | `ViewStyle` | `undefined` | the style of `children` |
169
+
| ❌ | `renderPointer` | `(props: PointerProps) => ReactNode` | `undefined` | a render function for the pointer component takes the pointer props that you pass them as a props |
0 commit comments