I\'m using Typescript with React. I\'m having trouble understanding how to use refs so as to get static typing and intellisense with respect to the react nodes referenced by
If you wont to forward your ref, in Props interface you need to use RefObject type from import React, { RefObject } from 'react';
ref
RefObject
import React, { RefObject } from 'react';