Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3524381
D7772.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
865 B
Referenced Files
None
Subscribers
None
D7772.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,32 @@
+// @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: 'panelInputSecondaryForeground',
+ size: 14,
+ fontWeight: '400',
+ textAlign: 'center',
+ },
+ messageWrapper: {
+ paddingVertical: 24,
+ paddingHorizontal: 60,
+ display: 'flex',
+ },
+};
+
+export default SearchFooter;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 24, 12:30 PM (17 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2700000
Default Alt Text
D7772.diff (865 B)
Attached To
Mode
D7772: [natvie] Add SearchFooter component
Attached
Detach File
Event Timeline
Log In to Comment