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