UNPKG

crn-cli

Version:

The Ctrip React Native CLI Tools

1 lines 837 B
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),l=r(d[2]),o=r(d[3]),s=r(d[4]),c=r(d[5]),u=r(d[6]),p=u.Text,E=u.View,T=u.TouchableOpacity,f=u.Alert,y=(function(u){function y(){return t(this,y),l(this,o(y).apply(this,arguments))}return s(y,u),n(y,[{key:"render",value:function(){return c.createElement(E,{style:{flex:1}},c.createElement(T,{onPress:function(){return f.alert('Alert','Hi!')}},c.createElement(p,null,"HELLO!")),c.createElement(E,{style:{position:'absolute',backgroundColor:'green',top:0,left:0,bottom:0,right:0,opacity:0}}))}}]),y})(c.Component);e.title='<TransparentHitTestExample>',e.displayName='TransparentHitTestExample',e.description='Transparent view receiving touch events',e.examples=[{title:'TransparentHitTestExample',render:function(){return c.createElement(y,null)}}]},666743,[3,4,5,8,9,11,15]);