What's the type of the following statement in React?
let element = <div>Blah blah</div>
I thought I could use element: HTMLElement
but when I do, I get Property 'accessKey' is missing in type 'Element'
.
What about another imported component?
import Row from './partials/Row';
let row = <Row cols={cols} />