|
@@ -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(),
|