Skip to content

Instantly share code, notes, and snippets.

View wkmike's full-sized avatar

Kui Wu wkmike

  • NetEase
  • Guangzhou, China
View GitHub Profile
import React, { useState, useMemo } from "react";
function MyInput(props) {
return (
<input
value={props.value}
onInput={(e) => {
props.onInput(e.target.value);
}}
/>