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 ReactProp I can set only one property like this:
@ReactProp(name = "mode")
public void setMode(PDFLayoutView view, int mode) {
    view.PDFSetView(mode);
}
But if I want to set for example src and password properties I can't use ReactProp annotation.
@ReactProp(name = "src")
public void setMode(PDFLayoutView view, string src, string password) {
    view.setSrc(src, password);
}
I checked https://facebook.github.io/react-native/docs/native-components-android#imageview-example and found ReactPropGroup 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?