import React, { Component } from 'react'; import { InputControl } from '@leanup/form'; interface Props { control: InputControl; } export class InputComponent extends Component { public render(): JSX.Element { return (
{ this.props.control.value = event.target === null ? '' : event.target.value; this.forceUpdate(); }} />
); } }