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