Nikatlas 5 年之前
父節點
當前提交
98907c4b9b
共有 2 個文件被更改,包括 3 次插入2 次删除
  1. 0 0
      dist/modules/BaseHolder/index.js
  2. 3 2
      modules/BaseHolder/index.js

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


+ 3 - 2
modules/BaseHolder/index.js

@@ -33,13 +33,14 @@ export default class BaseHolder extends React.Component {
 			content,
 			...restProps
 		} = this.props;
+		if(!width) width = undefined;
+		if(!height) height = undefined;
 		let styl = [styles.base];
 		if (selected) styl.push(styles.selected); 
 		if (stretchContainer) styl.push(styles.stretchToContent);
 		return (
 			// self container
 		    <View {...restProps} style={[styl, {
-		    	order,
 				alignSelf,
 				flexGrow,
 				flexShrink,
@@ -115,7 +116,7 @@ BaseHolder.Inputs = {
 	alignContent: new Types.Text(),
 	flexDirection: new Types.Text(),
 	flexWrap: new Types.Text(),
-	flexFlow: new Types.Text(),
+	flexFlow: new Types.Real(),
 	alignSelf: new Types.Text(),
 	flexGrow: new Types.Real(),
 	flexShrink: new Types.Real(),

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