title: Example for ReactPropGroup
body: <p>I'm implementing a new native UI component for my project. For some reason, I need to set 2 properties at the same time using one method. By using <code>ReactProp</code> I can set only one property like this:</p>
  
  <pre><code>@ReactProp(name = "mode")
  public void setMode(PDFLayoutView view, int mode) {
      view.PDFSetView(mode);
  }
  </code></pre>
  
  <p>But if I want to set for example <code>src</code> and <code>password</code> properties I can't use <code>ReactProp</code> annotation.</p>
  
  <pre><code>@ReactProp(name = "src")
  public void setMode(PDFLayoutView view, string src, string password) {
      view.setSrc(src, password);
  }
  </code></pre>
  
  <p>I checked <a href="https://facebook.github.io/react-native/docs/native-components-android#imageview-example" rel="nofollow noreferrer">https://facebook.github.io/react-native/docs/native-components-android#imageview-example</a> and found <code>ReactPropGroup</code> annotation might help me. But there is no example of how to use it. Can you provide an example or another solution to solve my problem?</p>