1.0.6 • Published 5 years ago

sorun-messages-list v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

sorun-messages-list

SOR'UN company messages list component

NPM JavaScript Style Guide

Important release notes

1.0.0: The first stable version of SOR'UN messages list component 1.0.5: Adding Markdown support to messages 1.0.6: Adding End Message

Install

npm install --save sorun-messages-list

Usage

import React, { Component } from 'react'

import MessageList from 'sorun-messages-list'

class Example extends Component {
  render () {
    return (
      <MessageList
        core={core_variable}
        lang={lang_variable}
        innerWidth={inner_width_variable}
        company={company_variable}
        tempMessageList={temporarly_message_list_variable}
        messageList={message_list_variable}
        conversationInfoMap={conversation_info_map_variable}
        endOfConversationAction={end_of_conversation_output_action}
        openLocation={open_location_window_output_action}
        openIFrame={open_iframe_window_output_action}
      />
    )
  }
}

Props

PropDescription
coreThe SORUN JS instance the project is working on.
langThe language keys values map for displayed test inside the component.
innerWidthThe inner width of the chat window.
companyThe company object to get the input working modes.
tempMessageListThe temporarly messages objects list.
messageListThe messages object list.
conversationInfoMapThe conversations map.
endOfConversationActionOutput action that will be called when ending a conversation from messages.
openLocationOutput action for opening the location window to send location if its supported.
openIFrameOutput action for opening the iframe window if iframe window message came.

License

MIT © SORUN

1.0.6

5 years ago

1.0.5

5 years ago

1.0.0

5 years ago

0.0.14

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago