Configuring

Configuration can be set by passing a config to UI functions, or by creating custom instances. Using the following config:

const config = {
  foo: {}
};

you can either do:

Autheos.button({

}, config);

Or:

const instance = new Autheos.AutheosUI(config);

instance.button({

});