Open erikbcox opened 5 years ago
<div onKeyPress={(e: KeyboardEvent) => console.log(e.key)}
<div onKeyPress={(e: KeyboardEvent<HTMLDivElement>) => console.log(e.key)}
<div onKeyPress={(e: KeyboardEvent) => console.log(e.key)}