title: what is the correct type for a React instance of a component in typescript
body: <p>Say I have a component that takes 2 button instances:</p>
  
  <pre><code>export interface GridProps {
    backButton: any;
    nextButton: any;
  }
  </code></pre>
  
  <p>Should the type for the button be <code>React.ReactNode</code> or <code>React.ReactElement</code></p>
  
  <p>so either:</p>
  
  <pre><code>export interface GridProps {
    backButton: React.ReactNode;
    nextButton: React.ReactNode;
  }
  </code></pre>
  
  <p>or </p>
  
  <pre><code>export interface GridProps {
    backButton: React.ReactElement&lt;any&gt;;
    nextButton: React.ReactElement&lt;any&gt;;
  }
  </code></pre>