Closed toddgower-hiatus closed 4 years ago
It appears you can, i've just used the IntercomAPI method and it works fine.
e.g.
IntercomAPI('onShow', () => {
// do something
});
IntercomAPI('show')
This was asked without full understanding of the lib. Closing...
Does this library provide access to Intercom functions that control when/how the messenger is presented? Can I simply call them using the
IntercomAPI
viaimport { IntercomAPI } from 'react-intercom';
?