sorun-input
SOR'UN company chat input component
Important release notes
1.0.0: The first stable version of SOR'UN input
Install
npm install --save sorun-input
Usage
import React Component from 'react' import MessageInput from 'sorun-input' { return <MessageInput = = = = = = = = /> }
Props
Prop | Description |
---|---|
core | The SORUN JS instance the project is working on. |
lang | The language keys values map for displayed test inside the component. |
company | The company object to get the input working modes. |
toggleLocationWindow | Output action for toggling the location window to send a location if its supported. |
openLogoutWindow | Output action for opening the logout window if its supported. |
addToTemp | Output action to add a temporarly messages to the message list (Like upload file) for loading purposes. |
updateTemp | Output action to update a temporarly messages inside the message list (Like upload file) for loading purposes. |
removeFromTemp | Output action to remove a temporarly messages from the message list (Like upload file) for loading purposes. |
License
MIT © SORUN