Nikatlas 5 years ago
parent
commit
9a5ab48d6d
2 changed files with 4 additions and 2 deletions
  1. 0 0
      dist/modules/BaseHolder.js
  2. 4 2
      modules/BaseHolder.js

File diff suppressed because it is too large
+ 0 - 0
dist/modules/BaseHolder.js


+ 4 - 2
modules/BaseHolder.js

@@ -54,14 +54,15 @@ export default class BaseHolder extends React.Component {
 
 		    	<View WRAPPER={true} style={ //children Container 
 		    	 	[
-		    	 	!!content || stretchContainer ? styles.stretchToContent : {},
+		    	 	(!!content || stretchContainer) ? styles.stretchToContent : {},
 		    	 	{
 		    	 		justifyContent,
 						alignItems,
 						alignContent,
 						flexDirection,
 						flexWrap,
-						flexFlow
+						flexFlow,
+
 		    	 	}
 		    	 	]}>
 					{children}
@@ -92,6 +93,7 @@ const styles = StyleSheet.create({
 BaseHolder.Inputs = {
 	width: new Types.Integer(),
 	height: new Types.Integer(),
+	stretchContainer: new Types.Bool().default(false),
 	overflow: new Types.Integer().default('hidden'),
 	justifyContent: new Types.Text().default("flex-start"),
 	alignItems: new Types.Text(),

Some files were not shown because too many files changed in this diff