I just copied ReactDOMInput here.