diff options
author | Ivan Chen <ivan@tagg.id> | 2021-04-06 15:58:44 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-04-07 14:57:34 -0400 |
commit | 8f0eb0703f24076796fa6c13e35b5fc8b8de87ab (patch) | |
tree | aa21286e3a4252ac44da4803ee850426cfe78e61 /src/components/messages | |
parent | f16748fea83bf28ddb70adeeef8d18fba43e9c1b (diff) |
added compose button asset
Diffstat (limited to 'src/components/messages')
-rw-r--r-- | src/components/messages/MessagesHeader.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/messages/MessagesHeader.tsx b/src/components/messages/MessagesHeader.tsx index d8445580..a3b31a22 100644 --- a/src/components/messages/MessagesHeader.tsx +++ b/src/components/messages/MessagesHeader.tsx @@ -3,6 +3,7 @@ import {StyleSheet, View} from 'react-native'; import {Text} from 'react-native-animatable'; import {TouchableOpacity} from 'react-native-gesture-handler'; import {normalize} from '../../utils'; +import ComposeIcon from '../../assets/icons/compose.svg'; type MessagesHeaderProps = { createChannel: () => void; @@ -14,10 +15,9 @@ const MessagesHeader: React.FC<MessagesHeaderProps> = ({createChannel}) => { <Text style={styles.headerText}>Messages</Text> <Text style={styles.unreadText}>2 unread</Text> <View style={styles.flex} /> - <TouchableOpacity - style={styles.compose} - onPress={createChannel}> - <Text>Compose</Text> + <TouchableOpacity style={styles.compose} onPress={createChannel}> + {/* <Text>Compose</Text> */} + <ComposeIcon width={normalize(20)} height={normalize(20)} /> </TouchableOpacity> </View> ); |