title: How to get props variable in detailed props React-Native
body: <p>I have a custom component like this</p>
  
  <pre><code>const MyCustomComponent = ({ value, style }) =&gt; {
     // I can access value &amp; style with value and style
     return &lt;View style={style}&gt;
        &lt;Text&gt;{value}&lt;/Text&gt;
     &lt;/View&gt;
  }
  </code></pre>
  
  <p>I can called it with</p>
  
  <pre><code>&lt;MyCustomComponent value="123" style={{ color: "blue" }} /&gt;
  </code></pre>
  
  <p>My question is how to get arguments or alyelse to get all props passed to my component?</p>
  
  <p>In native function, i can use <code>arguments</code> to get allProps as an Array and set it in a new variable like <code>const allProps = arguments[0]</code></p>
  
  <p>What about in arrow function?</p>