Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
ui-component-library / src / inputs / TextBox / deps / fromChangeEventToValues.ts
Size: Mime:
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,
  }
}