Repository URL to install this package:
Version:
0.9.5 ▾
|
import { InputChangeEvent } from '../typings'
export function fromChangeEventToValues(event: InputChangeEvent) {
// would work too
const value = event.target.value
const isChecked = event.target.checked
return {
value,
isChecked,
}
}