render() { return ( <TouchableWithoutFeedback onPress={()=>{this.props.onClick(this.props.data)}}> <View style={styles.row}> <Text style={styles.text}> {this.props.data.text + ' (' + this.props.data.clicks + ' clicks)'} </Text> </View> </TouchableWithoutFeedback> ) }
render() { const { name } = this.props.employee; return ( <TouchableWithoutFeedback onPress={this.onRowPress}> <View> <CardSection> <Text style={styles.titleStyle}>{name}</Text> </CardSection> </View> </TouchableWithoutFeedback> ); }
render() { const { note: { title, text, image } } = this.props; return <TouchableWithoutFeedback onPress={this.handlePress}> <View style={styles.listItem}> <ImageContent image={image} /> <TextContent title={title} text={text}/> </View> </TouchableWithoutFeedback>; }
render() { return ( <Animated.View style={this.state.position.getLayout()}> <TouchableWithoutFeedback onPress={() => this.handleAnimation()}> <View style={styles.ball} /> </TouchableWithoutFeedback> </Animated.View> ); }
render() { return ( <TouchableWithoutFeedback onPress={() => Keyboard.dismiss()}> <View style={styles.container}> <StatusBar barStyle="light-content" backgroundColor="#0d4422"/> <Logo/> <Form/> </View> </TouchableWithoutFeedback> ); }
render() { const height = Math.abs(this.props.end-this.props.start) if (this.props.overlay.confirmation) { return <TouchableWithoutFeedback onPress={()=>this.props.actions.overlay.setConfirmationMessage(null)}> <Animated.View style={[styles.box, {height, bottom: this.state.bottom}]}> <Text style={[css.text, styles.text]}>{this.props.overlay.confirmation}</Text> </Animated.View> </TouchableWithoutFeedback>; } return null; }
render() { return ( <TouchableWithoutFeedback onPress={this.handleDoubleTap}> {this.props.children} </TouchableWithoutFeedback> ); }
render() { return ( <TouchableWithoutFeedback onLayout={this.onLayout} onPress={Keyboard.dismiss} accessible={false}> <View style={[styles.block, {minHeight: this.state.minheight}]}> {this.renderForm()} {this.props.isFetching && <Spinner/>} </View> </TouchableWithoutFeedback> ); }
renderFilter(filter, name) { if (filter == this.props.filter) return name; return ( <TouchableWithoutFeedback onPress={e => { e.preventDefault(); this.props.onFilterChange(filter); }}> <Text>{name}</Text> </TouchableWithoutFeedback> ) }
const TourchButton = ({onTourchChange = () => {}, styles, isActive = false}) => ( <TouchableWithoutFeedback onPress={() => onTourchChange()}> <Image style={[tourchButtonStyles.button, styles]} source={isActive ? tourchButtonIconActive : tourchButtonIcon} /> </TouchableWithoutFeedback> )
render() { const { name } = this.props.employee; return ( <TouchableWithoutFeedback onPress={this.onRowPress.bind(this)}> <View> <CardSection> <Text style={styles.titleStyle}>{name}</Text> </CardSection> </View> </TouchableWithoutFeedback> ); }
const Generator = (props) => ( <TouchableWithoutFeedback onPress={ () => {props.add()} }> <View style={styles.generate}> <Text> Add Number </Text> </View> </TouchableWithoutFeedback > )
const Container = props => ( <TouchableWithoutFeedback onPress={() => Keyboard.dismiss()} > <View style={styles.container}> {props.children} </View> </TouchableWithoutFeedback> )
render() { const {name} = this.props.employee; return ( <TouchableWithoutFeedback onPress={this.onRowPress}> <View style={styles.sectionStyle}> <Text style={styles.nameStyle}> {name} </Text> </View> </TouchableWithoutFeedback> ) }
render() { const { props } = this; return ( <TouchableWithoutFeedback onPress={this.handleDoubleTap}> {props.children} </TouchableWithoutFeedback> ); }