diff options
author | Ashm Walia <40498934+ashmgarv@users.noreply.github.com> | 2020-10-22 15:34:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-22 18:34:21 -0400 |
commit | d0237cbb61e5c4d77c7b0cefc50891639646ee91 (patch) | |
tree | 5b0c1e33c1043887ad45c06a30173dc469d28228 /src/components/profile/CaptionScreenHeader.tsx | |
parent | 5db451725d6165de16ee11cda608a05e96e481f9 (diff) |
[TMA 236] Comments PR (#64)
* Added comments count and retrieve comments
* Working draft
* The one before cleanup
* Finally
* Added time icon and major refactoring
* Small fix for social media taggs
* Addressed review comments
Diffstat (limited to 'src/components/profile/CaptionScreenHeader.tsx')
-rw-r--r-- | src/components/profile/CaptionScreenHeader.tsx | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/components/profile/CaptionScreenHeader.tsx b/src/components/profile/CaptionScreenHeader.tsx deleted file mode 100644 index 4715b4ef..00000000 --- a/src/components/profile/CaptionScreenHeader.tsx +++ /dev/null @@ -1,37 +0,0 @@ -import React from 'react'; -import {Text, View, StyleSheet, ViewProps} from 'react-native'; -interface CaptionScreenHeaderProps extends ViewProps { - title: string; -} -const CaptionScreenHeader: React.FC<CaptionScreenHeaderProps> = ({ - title, - style, -}) => { - return ( - <View style={[styles.container, style]}> - <View style={styles.headerContainer}> - <Text style={styles.header}>{title}</Text> - </View> - </View> - ); -}; - -const styles = StyleSheet.create({ - container: { - flexDirection: 'row', - justifyContent: 'center', - height: 30, - }, - headerContainer: { - position: 'absolute', - left: '50%', - }, - header: { - position: 'relative', - right: '50%', - fontSize: 20, - fontWeight: 'bold', - color: 'white', - }, -}); -export default CaptionScreenHeader; |