<Button> Component not working
Closed this issue · 0 comments
merbin2012 commented
I am using this plugin inside the iframe tag, all other code are working but simple <Button> is not working.
import React, { Component } from 'react';
import { Button } from 'react-native';
export default class PizzaTranslator extends Component {
test()
{
alert("sdfsd");
}
render() {
return (
<Button title="I am button" onPress={this.test}/>
);
}
}