Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3526045
D7772.id26417.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
840 B
Referenced Files
None
Subscribers
None
D7772.id26417.diff
View Options
diff --git a/native/search/search-footer.react.js b/native/search/search-footer.react.js
new file mode 100644
--- /dev/null
+++ b/native/search/search-footer.react.js
@@ -0,0 +1,31 @@
+// @flow
+
+import * as React from 'react';
+import { View, Text } from 'react-native';
+
+import { useStyles } from '../themes/colors.js';
+
+function SearchFooter(props: { text: string }): React.Node {
+ const styles = useStyles(unboundStyles);
+
+ return (
+ <View style={styles.messageWrapper}>
+ <Text style={styles.message}>{props.text}</Text>
+ </View>
+ );
+}
+
+const unboundStyles = {
+ message: {
+ color: 'searchMessagesSecondaryForeground',
+ size: 14,
+ fontWeight: '400',
+ textAlign: 'center',
+ },
+ messageWrapper: {
+ paddingVertical: 24,
+ display: 'flex',
+ },
+};
+
+export default SearchFooter;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 24, 7:23 PM (8 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2700884
Default Alt Text
D7772.id26417.diff (840 B)
Attached To
Mode
D7772: [natvie] Add SearchFooter component
Attached
Detach File
Event Timeline
Log In to Comment