Skip to content

Instantly share code, notes, and snippets.

View Evavic44's full-sized avatar
Always learning

Victor Eke Evavic44

Always learning
View GitHub Profile
@Evavic44
Evavic44 / Utterance Widget React.md
Created March 22, 2022 12:54
Widget for GitHub comments using Utterance widget
import React, { Component } from "react";

export default class Comments extends Component {
	constructor(props) {
		super(props);
		this.commentBox = React.createRef();
	}

	componentDidMount() {
@Evavic44
Evavic44 / Chatwoot Widget React.md
Last active June 14, 2023 21:09
Chatwoot live chat widget
import React from "react";

class ChatwootWidget extends React.Component {
componentDidMount() {
  window.chatwootSettings = {
    hideMessageBubble: false,
    position: "right",
    locale: "en",
 type: "standard", // [standard, expanded_bubble]