import { ValueType } from '../../types' ; const fireOnChangeEvent = ( { event , value : eventValue , name , onChange } ) => { event . persist ( ) ; event . target = { value : eventValue , name } ; onChange ?. ( event ) ; } ; export default fireOnChangeEvent ;