MCPcopy Create free account
hub / github.com/react-hook-form/react-hook-form / Input

Function Input

examples/V6/customMaskedInputWithController.tsx:14–17  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

12};
13
14const Input = (props) => {
15 const { onChange, ...restProps } = props;
16 return <input {...restProps} onChange={onChange} />;
17};
18
19const CustomMaskedInput = (props) => {
20 const { value, onChange, name } = props;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected