0.1.12 • Published 1 year ago

@royaltics/chatsocket-react-sails v0.1.12

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@royaltics/chatsocket-react-sails

A Button react.js for payphone checkout

NPM JavaScript Style Guide

Install

npm install --save @royaltics/chatsocket-react-sails

Usage

import React from 'react'

import ChatBoxComponent  from 'chatsocket-react-sails'

const App = () => {
  return <ChatBoxComponent
    title="Royaltics Solutions"
    agentName="asdasdas"
    agentStatus="asdasdasd"
    agentPhoto="https://cdn-icons-png.flaticon.com/512/29/29508.png"
    style={
      {
        primaryColor: 'green'
      }
    }
    optionsSocket={
      {
        url: 'http://localhost:1338'
      }
    }
    optionsFiles={{
      endpointUpload: 'http://localhost:1338',
      onCapture: (blob: any) => {
        console.log(blob, "///////")
      },
      onError: (err: any) => console.log(err)
    }}
    btnTitle="XXXX"
    channel_uuid="a24a6ea4-ce75-4665-a070-57453082c256"
  />
}


export default App

License

MIT © royaltics-solutions

0.1.12

1 year ago

0.1.11

1 year ago

0.1.10

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago