Skip to content

Commit

Permalink
Merge pull request #51 from Wolox/bugs-fixes
Browse files Browse the repository at this point in the history
Bugs fixes
  • Loading branch information
Martín Callegari authored Apr 13, 2018
2 parents 25ae9ce + 604ab03 commit 26dd14f
Show file tree
Hide file tree
Showing 15 changed files with 10,018 additions and 2,969 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ yarn add react-chat-widget
import React, { Component } from 'react';
import { Widget } from 'react-chat-widget';

import 'react-chat-widget/lib/styles.css';

class App extends Component {
render() {
return (
Expand All @@ -51,6 +53,8 @@ export default App;
import React, { Component } from 'react';
import { Widget } from 'react-chat-widget';

import 'react-chat-widget/lib/styles.css';

class App extends Component {
handleNewUserMessage = (newMessage) => {
console.log(`New message incomig! ${newMessage}`);
Expand All @@ -77,6 +81,8 @@ export default App;
import React, { Component } from 'react';
import { Widget, addResponseMessage } from 'react-chat-widget';

import 'react-chat-widget/lib/styles.css';

class App extends Component {
componentDidMount() {
addResponseMessage("Welcome to this awesome chat!");
Expand Down Expand Up @@ -108,6 +114,8 @@ export default App;
import React, { Component } from 'react';
import { Widget, addResponseMessage, addLinkSnippet, addUserMessage } from 'react-chat-widget';

import 'react-chat-widget/lib/styles.css';

import logo from './logo.svg';

class App extends Component {
Expand Down
Loading

0 comments on commit 26dd14f

Please sign in to comment.