MCPcopy Create free account
hub / github.com/shoutem/ui / constructor

Function constructor

components/NumberInput.js:25–29  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

23 */
24class NumberInput extends PureComponent {
25 constructor(props) {
26 super(props);
27
28 autoBindReact(this);
29 }
30
31 onChangeText(text) {
32 const transformedText = text.replace(/[^0-9]/g, '');

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected