<html.input>
The <html.input> component lets you render a text input.
Overview
To display an input element, render the <html.input> component.
import { html } from 'react-strict-dom';
const Foo = () => (
<html.input
onInput={() => {}}
placeholder="Placeholder text"
/>
);
Props
- ...Common props
autoCompletecheckeddefaultCheckeddefaultValuedisabledmaxmaxLengthminminLengthmultiplenameonBeforeInputonChangeonInputonInvalidonSelectonSelectionChangeplaceholderreadOnlyrequiredsteptypevalue