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

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


+ 38 - 4
modules/BaseHolder.js

@@ -12,9 +12,23 @@ export default class BaseHolder extends React.Component {
 		let {
 			children,
 			selected,
+
 			justifyContent,
 			alignItems,
+			alignContent,
+			flexDirection,
+			flexWrap,
+			flexFlow,
+
+			order,
 			alignSelf,
+			flexGrow,
+			flexShrink,
+			flexBasis,
+
+			width,
+			height,
+
 			stretchContainer,
 			content,
 			...restProps
@@ -25,7 +39,15 @@ export default class BaseHolder extends React.Component {
 		if (stretchContainer) styl.push(styles.stretchToContent);
 		return (
 			// self container
-		    <View {...restProps} style={[styl, {alignSelf}]}>
+		    <View {...restProps} style={[styl, {
+		    	order,
+				alignSelf,
+				flexGrow,
+				flexShrink,
+				flexBasis,
+				width,
+				height
+			}]}>
 		    	{content}
 
 		    	<View WRAPPER={true} style={ //children Container 
@@ -33,7 +55,11 @@ export default class BaseHolder extends React.Component {
 		    	 	!!content || stretchContainer ? styles.stretchToContent : {},
 		    	 	{
 		    	 		justifyContent,
-		    	 		alignItems
+						alignItems,
+						alignContent,
+						flexDirection,
+						flexWrap,
+						flexFlow
 		    	 	}
 		    	 	]}>
 					{children}
@@ -62,7 +88,15 @@ const styles = StyleSheet.create({
 });
 
 BaseHolder.Inputs = {
-	justifyContent: new Types.Text().require().default("flex-start"),
+	justifyContent: new Types.Text().default("flex-start"),
 	alignItems: new Types.Text(),
-	alignSelf: new Types.Text()
+	alignContent: new Types.Text(),
+	flexDirection: new Types.Text(),
+	flexWrap: new Types.Text(),
+	flexFlow: new Types.Text(),
+	order: new Types.Text(),
+	alignSelf: new Types.Text(),
+	flexGrow: new Types.Text(),
+	flexShrink: new Types.Text(),
+	flexBasis: new Types.Text()
 }

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