Repository URL to install this package:
|
Version:
4.0.29 ▾
|
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,
}
}