diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-02-23 10:48:50 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-02-23 10:48:50 -0600 |
commit | ac655a0cf4170b87cd0865580844c09d95546a66 (patch) | |
tree | 5d8075a1d0587ae647965359ec0ca7c206288826 /src/view/com/posts/ComposerPrompt.web.tsx | |
parent | 86652c071ada3160baf9b07adeb6ac352be63986 (diff) | |
download | voidsky-ac655a0cf4170b87cd0865580844c09d95546a66.tar.zst |
Web: go lighter for now, ditch the composer prompt in feed
Diffstat (limited to 'src/view/com/posts/ComposerPrompt.web.tsx')
-rw-r--r-- | src/view/com/posts/ComposerPrompt.web.tsx | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/src/view/com/posts/ComposerPrompt.web.tsx b/src/view/com/posts/ComposerPrompt.web.tsx deleted file mode 100644 index a87653cf8..000000000 --- a/src/view/com/posts/ComposerPrompt.web.tsx +++ /dev/null @@ -1,41 +0,0 @@ -import React from 'react' -import {StyleSheet, TouchableWithoutFeedback, View} from 'react-native' -import {Text} from '../util/text/Text' -import {usePalette} from 'lib/hooks/usePalette' -import {s} from 'lib/styles' - -export function ComposerPrompt({ - onPressCompose, -}: { - onPressCompose: (imagesOpen?: boolean) => void -}) { - const pal = usePalette('default') - return ( - <TouchableWithoutFeedback onPress={() => onPressCompose(false)}> - <View style={[pal.view, pal.border, styles.container]}> - <Text type="xl" style={pal.textLight}> - What's up? - </Text> - <View style={s.flex1} /> - <View style={[styles.btn, pal.btn]}> - <Text>Post</Text> - </View> - </View> - </TouchableWithoutFeedback> - ) -} - -const styles = StyleSheet.create({ - container: { - paddingVertical: 16, - paddingHorizontal: 18, - flexDirection: 'row', - alignItems: 'center', - borderTopWidth: 1, - }, - btn: { - paddingVertical: 6, - paddingHorizontal: 14, - borderRadius: 30, - }, -}) |