import{useState } from \'react\' export const useForm=(callback, initialState={})=>{ const [values, setvalues] = useState(initialState) const onCha