all files / src/events/ createOnChange.js

100% Statements 9/9
100% Branches 4/4
100% Functions 3/3
100% Lines 5/5
1 branch Ignored     
1 2 3 4 5 6 201× 102×    
import getValue from './getValue';
const createOnChange =
  (name, change, isReactNative) =>
    event => change(name, getValue(event, isReactNative));
export default createOnChange;