created comment display style file

This commit is contained in:
u-e 2019-02-07 11:03:46 +03:00
parent 723720ef91
commit 07ed3449ac
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,8 @@
import EStyleSheet from 'react-native-extended-stylesheet';
export default EStyleSheet.create({
commentWrapper: {
padding: 16,
paddingBottom: 50,
},
});

View File

@ -5,6 +5,9 @@ import { View } from 'react-native';
import { FilterBar } from '../../filterBar';
import { Comments } from '../../comments';
// Styles
import styles from './commentDisplayStyles';
class CommentsDisplayView extends PureComponent {
/* Props
* ------------------------------------------------
@ -36,7 +39,7 @@ class CommentsDisplayView extends PureComponent {
defaultText="TRENDING"
onDropdownSelect={this._handleOnDropdownSelect}
/>
<View style={{ padding: 16, paddingBottom: 50, }}>
<View style={styles.commentWrapper}>
<Comments
fetchPost={fetchPost}
commentCount={commentCount}