Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3502448
D13062.id43373.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D13062.id43373.diff
View Options
diff --git a/native/tooltip/nux-tips-overlay.react.js b/native/tooltip/nux-tips-overlay.react.js
--- a/native/tooltip/nux-tips-overlay.react.js
+++ b/native/tooltip/nux-tips-overlay.react.js
@@ -2,7 +2,7 @@
import invariant from 'invariant';
import * as React from 'react';
-import { View, TouchableWithoutFeedback, Platform } from 'react-native';
+import { View, TouchableWithoutFeedback, Platform, Text } from 'react-native';
import Animated from 'react-native-reanimated';
import type { AppNavigationProp } from '../navigation/app-navigator.react.js';
@@ -58,6 +58,11 @@
height: 10,
width: 10,
},
+ tipText: {
+ color: 'panelForegroundLabel',
+ fontSize: 20,
+ padding: 15,
+ },
};
export type NUXTipsOverlayParams = {
@@ -79,7 +84,7 @@
function createNUXTipsOverlay(
ButtonComponent: React.ComponentType<ButtonProps<BaseNUXTipsOverlayProps>>,
- MenuComponent: React.ComponentType<BaseNUXTipsOverlayProps>,
+ tipText: string,
): React.ComponentType<BaseNUXTipsOverlayProps> {
function ConnectedNUXTipsOverlay(props: BaseNUXTipsOverlayProps) {
const dimensions = useSelector(state => state.dimensions);
@@ -263,7 +268,7 @@
>
<View style={[styles.triangleUp, triangleStyle]} />
<View style={styles.items}>
- <MenuComponent navigation={navigation} route={route} key="menu" />
+ <Text style={styles.tipText}>{tipText}</Text>
</View>
</AnimatedView>
</View>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 4:09 AM (17 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2683957
Default Alt Text
D13062.id43373.diff (1 KB)
Attached To
Mode
D13062: [native] Turn MenuComponent into text
Attached
Detach File
Event Timeline
Log In to Comment