|
|
@@ -19,6 +19,7 @@ const PageContainer: FC<IPageContainerProps> = ({
|
|
|
backgroundColor = "default" as keyof NCoreUIKit.ContainerContentColors,
|
|
|
isWrapSafeareaContext = false,
|
|
|
safeAreaViewBackgroundColor,
|
|
|
+ isCustomPadding = false,
|
|
|
isScrollable = false,
|
|
|
safeAreaViewStyle,
|
|
|
scrollViewStyle,
|
|
|
@@ -47,7 +48,7 @@ const PageContainer: FC<IPageContainerProps> = ({
|
|
|
keyboardShouldPersistTaps="handled"
|
|
|
{...scrollViewProps}
|
|
|
contentContainerStyle={[
|
|
|
- {
|
|
|
+ isCustomPadding ? null : {
|
|
|
padding: spaces.spacingMd
|
|
|
},
|
|
|
scrollViewProps?.contentContainerStyle
|
|
|
@@ -77,7 +78,9 @@ const PageContainer: FC<IPageContainerProps> = ({
|
|
|
{...props}
|
|
|
style={[
|
|
|
{
|
|
|
- backgroundColor: colors.content.container[backgroundColor],
|
|
|
+ backgroundColor: colors.content.container[backgroundColor]
|
|
|
+ },
|
|
|
+ isCustomPadding ? null : {
|
|
|
padding: spaces.spacingMd
|
|
|
},
|
|
|
stylesheet.container,
|