crn-cli
Version:
The Ctrip React Native CLI Tools
1 lines • 899 B
JavaScript
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),s=r(d[2]),l=r(d[3]),o=r(d[4]),p=r(d[5]),c=r(d[6]),h=r(d[7]),u=h.ScrollView,y=h.StyleSheet,f=h.View,S=r(d[8]),v=(function(h){function y(){return n(this,y),l(this,o(y).apply(this,arguments))}return p(y,h),s(y,[{key:"render",value:function(){var n,s={};this.props.noScroll?n=f:(n=u,s.automaticallyAdjustContentInsets=!this.props.title,s.keyboardShouldPersistTaps='handled',s.keyboardDismissMode='interactive');var l=this.props.title?c.createElement(S,{title:this.props.title}):null,o=this.props.noSpacer?null:c.createElement(f,{style:k.spacer});return c.createElement(f,{style:k.container},l,c.createElement(n,t({style:k.wrapper},s),this.props.children,o))}}]),y})(c.Component),k=y.create({container:{backgroundColor:'#e9eaed',flex:1},spacer:{height:270},wrapper:{flex:1,paddingTop:10}});m.exports=v},666681,[14,3,4,5,8,9,11,15,666682]);