Skip to content

Commit

Permalink
Received props from home screen
Browse files Browse the repository at this point in the history
  • Loading branch information
shiva.gunasehkaran committed Oct 1, 2019
1 parent 594c814 commit f5b0726
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/screens/ShowBlog/ShowBlog.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ class ShowBlog extends Component {
}

render() {
const itemTitle = this.props.navigation.getParam('itemTitle');
return (
<View style={{flex: 1}}>
<View style={styles.container}>
<Text style={styles.title}>
{('My Blog Title')}
{itemTitle}
</Text>
<Text style={styles.content}>
{('My big blog post today is all about xyz.')}
Expand Down

0 comments on commit f5b0726

Please sign in to comment.