![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@brainfish-ai/react-chat-widget
Advanced tools
React library to display brainfish chat widget on your website
Readme
npm install @brainfish-ai/chat-widget @brainfish-ai/react-chat-widget
import { Standard } from '@brainfish-ai/react-chat-widget'
const App = () => {
return (
<Standard
chatAppId="lead-generation-copy-3luzm6b"
style={{ width: '100%', height: '600px' }}
/>
)
}
This code is creating a container with a 100% width (will match parent width) and 600px height.
import { Popup } from '@brainfish-ai/react-chat-widget'
const App = () => {
return <Popup chatAppId="lead-generation-copy-3luzm6b" autoShowDelay={3000} />
}
This code will automatically trigger the popup window after 3 seconds.
You can use these commands:
import { open } from '@brainfish-ai/react-chat-widget'
open()
import { close } from '@brainfish-ai/react-chat-widget'
close()
import { toggle } from '@brainfish-ai/react-chat-widget'
toggle()
import { Bubble } from '@brainfish-ai/react-chat-widget'
const App = () => {
return (
<Bubble
chatAppId="lead-generation-copy-3luzm6b"
theme={{
button: { backgroundColor: '#0042DA', iconColor: '#FFFFFF' },
previewMessage: { backgroundColor: '#ffffff', textColor: 'black' },
}}
/>
)
}
This code will show the bubble and let a preview message appear after 5 seconds.
You can use these commands:
import { open } from '@brainfish-ai/react-chat-widget'
open()
import { close } from '@brainfish-ai/react-chat-widget'
close()
import { toggle } from '@brainfish-ai/react-chat-widget'
toggle()
FAQs
React library to display brainfish chat widget on your website
The npm package @brainfish-ai/react-chat-widget receives a total of 0 weekly downloads. As such, @brainfish-ai/react-chat-widget popularity was classified as not popular.
We found that @brainfish-ai/react-chat-widget demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.