"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports["default"]=BaseContainer;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _Types=_interopRequireDefault(require("../../lib/Types"));var _jsxFileName="C:\\Users\\Konstanitnos\\Development\\TrapiLib\\modules\\BaseContainer\\index.js";function BaseContainer(props){var selected=props.selected,width=props.width,height=props.height,overflow=props.overflow,marginBottom=props.marginBottom,shadowColor=props.shadowColor,shadowWidth=props.shadowWidth,shadowHeight=props.shadowHeight,backgroundColor=props.backgroundColor,restProps=(0,_objectWithoutProperties2["default"])(props,["selected","width","height","overflow","marginBottom","shadowColor","shadowWidth","shadowHeight","backgroundColor"]);if(!width)width=BaseContainer.Inputs.width["default"];if(!height)height=BaseContainer.Inputs.height["default"];if(!backgroundColor)backgroundColor='';if(!marginBottom)marginBottom=0;if(!shadowColor)shadowColor='';if(!shadowWidth)shadowWidth=0;if(!shadowHeight)shadowHeight=0;return _react["default"].createElement(_reactNative.View,(0,_extends2["default"])({},restProps,{style:{width:width,height:height,overflow:overflow,backgroundColor:backgroundColor,marginBottom:marginBottom,shadowColor:shadowColor,shadowOffset:{width:shadowWidth,height:shadowHeight}},__source:{fileName:_jsxFileName,lineNumber:27}}));}BaseContainer.Inputs={width:new _Types["default"].Integer().require()["default"](50),height:new _Types["default"].Integer().require()["default"](50),overflow:new _Types["default"].Integer().require()["default"]('hidden'),backgroundColor:new _Types["default"].Text().require().color(),marginBottom:new _Types["default"].Integer().require()["default"](0),shadowColor:new _Types["default"].Text().require().color()["default"](""),shadowWidth:new _Types["default"].Integer().require(),shadowHeight:new _Types["default"].Integer().require()};