How to use the instabug-reactnative.setPrimaryColor function in instabug-reactnative

To help you get started, we’ve selected a few instabug-reactnative examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Instabug / Instabug-React-Native / InstabugSample / index.ios.js View on Github external
(buttonIndex) => {
        if (buttonIndex == 0) {
          Instabug.setPrimaryColor(processColor('#ff0000'));
        } else if (buttonIndex == 1) {
          Instabug.setPrimaryColor(processColor('#00ff00'));
        } else if (buttonIndex == 2) {
          Instabug.setPrimaryColor(processColor('#0000ff'));
        }
      });
  }
github Instabug / Instabug-React-Native / InstabugSample / App.js View on Github external
setPrimaryColor(color) {
    Instabug.setPrimaryColor(color);
  }