react-native-calculator
react-native-calculator copied to clipboard
When using the onAccept attribute, it activates the onCalc attribute at the same time, the same happens when I press the equal button it calls the onAccept function, would it have a solution?
When using the onAccept attribute, it activates the onCalc attribute at the same time, the same happens when I press the equal button it calls the onAccept function, would it have a solution?
Example I want it to send me just ready result, so I put 3 + 4, when I press equal (=) it calls the onAccept attribute function that sends these values to my state
Image of Problem https://ibb.co/x59Nr3m