const MyInput = forwardRef(function MyInput(props, ref) { return ; }); const MyInput2 = forwardRef(function MyInput({value}, ref) { return ; });