Coder Social home page Coder Social logo

embedded-slack-react's Introduction

embedded-slack-react

Embedded Slack React allows you to add a Slack built-in chat on your website using React.

Note: โš ๏ธ Embedded Slack and Embedded Slack React were been developed as a technical try to determine if Slack can be used from a web page, to allow customers to discuss with a support team. They currently work with a test token so, at this time, using those packages in production is not recommanded.

Prerequisites


You need all embedded-slack prerequisites, nothing more ! ๐Ÿ™‚

Usage


In this example, we create an EmbeddedSlackReact object with the two mandatory properties:

// index.js
import EmbeddedSlackReact from 'embedded-slack-react'
import React from 'react'
import ReactDOM from 'react-dom'

ReactDOM.render(<EmbeddedSlackReact
  channel="your_channel_id"
  token="your_channel_id"
/>, document.getElementById('embedded-slack-wrapper'))
<!-- index.html -->
<body>
  <div id="embedded-slack-wrapper" />
</body>

Do you see a blue div on the bottom right of your website now ? Good, you made it ! ๐Ÿ™‚

Built With


embedded-slack - Adds a Slack built-in chat to your website

react - React is a JavaScript library for building user interfaces

License


MIT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.