import { View, Text, StyleSheet, TextInput, NativeSyntheticEvent, TextInputKeyPressEventData, TouchableOpacity } from 'react-native' import React, { useRef, useState } from 'react' import { SIZES } from '../../../constants/theme' import { useTheme } from '../../contexts/ThemeContext' import { AutoDecimalInput } from '../../../components' export default function AddItem() { const value = useRef(""); const [formatedValue, setFormatedValue] = useState(""); const handleValueChange = (formatedValue: string) => { setFormatedValue(formatedValue); } console.log(formatedValue) return ( ) } const styles = StyleSheet.create({ container: { margin: SIZES.normal, } })