Page MenuHomePhabricator

D7772.id26846.diff
No OneTemporary

D7772.id26846.diff

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

Mime Type
text/plain
Expires
Tue, Dec 24, 7:20 PM (8 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2700879
Default Alt Text
D7772.id26846.diff (864 B)

Event Timeline