react-use-intercom icon indicating copy to clipboard operation
react-use-intercom copied to clipboard

Support for custom_launcher_selector in IntercomProvider

Open charitha-work opened this issue 3 years ago • 1 comments

As a developer I would like to pass a class/id as a custom selector so that I can customize it's style from my react code.

eg: <IntercomProvider appId="appId" customLauncherSelector="my-selector">{children}</IntercomProvider>

For the moment I selected .intercom-messenger-frame in a css file and styled as I wanted.

charitha-work avatar Nov 10 '23 11:11 charitha-work

Please check the docs first before creating an issue.

Since I'm here: you can already pass customLauncherSelector to the boot method. If autoBoot is used, you can set the same option in autoBootProps

devrnt avatar Dec 18 '23 14:12 devrnt