@4geit/rct-broadcast-message-component
v1.103.2
Published
Broadcast message component to display an input zone for typing and sending messages
Downloads
36
Keywords
Readme
@4geit/rct-broadcast-message-component
Broadcast message component to display an input zone for typing and sending messages
Demo
A live storybook is available to see how the component looks like @ http://react-packages.ws3.4ge.it
Installation
- A recommended way to install @4geit/rct-broadcast-message-component is through npm package manager using the following command:
npm i @4geit/rct-broadcast-message-component --save
Or use yarn
using the following command:
yarn add @4geit/rct-broadcast-message-component
- Depending on where you want to use the component you will need to import the class
RctBroadcastMessageComponent
to your project JS file as follows:
import RctBroadcastMessageComponent from '@4geit/rct-broadcast-message-component'
For instance if you want to use this component in your App.js
component, you can use the RctBroadcastMessageComponent component in the JSX code as follows:
import React from 'react'
// ...
import RctBroadcastMessageComponent from '@4geit/rct-broadcast-message-component'
// ...
const App = () => (
<div className="App">
<RctBroadcastMessageComponent/>
</div>
)