title: How can I add a prop type for the "style" property of my component that supports the same styles as the react native Text component?
body: <p>I want to add a prop type for the style property of the component that actually reflects the type of the style prop.
  I.e., writing something like <code>style: PropTypes.oneOfType([PropTypes.object, PropTypes.array])</code> is not enough.</p>
  <pre><code>import React from &quot;react&quot;;
  impot PropTypes from &quot;prop-types&quot;;
  import {Text} from &quot;react-native&quot;;
  
  const MyText = ({style, children)} =&gt; {...};
  
  MyText.propTypes = {
      style: ???
  }
  </code></pre>