From 1f5d869b1707012f98893f2bcb36a87dd8290c7f Mon Sep 17 00:00:00 2001 From: mashazyu Date: Fri, 24 Apr 2020 14:27:42 +0200 Subject: [PATCH] Adds contentContainerStyle prop to AppPage component --- components/common/app-page.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/components/common/app-page.js b/components/common/app-page.js index a7b5a49..a9559dc 100644 --- a/components/common/app-page.js +++ b/components/common/app-page.js @@ -6,9 +6,12 @@ import AppText from '../common/app-text' import { Colors, Typography } from '../../styles/redesign' -const AppPage = ({ children, title }) => { +const AppPage = ({ children, contentContainerStyle, title }) => { return( - + {title && {title}} {children} @@ -17,6 +20,7 @@ const AppPage = ({ children, title }) => { AppPage.propTypes = { children: PropTypes.node, + contentContainerStyle: PropTypes.object, title: PropTypes.string }