title: How can I extend a React Native component's props using Flow?
body: <p>I'm using Flow (<code>0.54.1</code>) on my React Native (<code>0.48.3</code>) project. I've created a component called <code>PrimaryButton</code> that wraps a native <code>TouchableOpacity</code> component. I want to type the component using some custom props and also the entire set of props for <code>TouchableOpacity</code>.</p>
  
  <p>How can I access / extend the props belonging to <code>TouchableOpacity</code>? (or any native / built-in React Native component)</p>
  
  <p>In the following example, I'm trying to work out how to populate <code>PROPS_FROM_TOUCHABLE_OPACITY</code>.</p>
  
  <pre><code>type Props = PROPS_FROM_TOUCHABLE_OPACITY &amp; {
      title: string,
  };
  
  const PrimaryButton = ({ title, ...rest }: Props) =&gt; (
      &lt;TouchableOpacity {...rest}&gt;
          &lt;View&gt;
              &lt;Text&gt;{title}&lt;/Text&gt;
          &lt;/View&gt;
      &lt;/TouchableOpacity&gt;
  );
  </code></pre>
  
  <p><em>Component simplified for brevity</em></p>