apeman-react-chat
apeman react package for chat components.
Installation
$ npm install apeman-react-chat --save
Demo
Live demo is hosted on GitHub Pages.
Usage
'use strict' import React from 'react'import ApChat ApChatItem ApChatStyle from 'apeman-react-chat' const ExampleComponent = React
Components
ApChatItem
Props
Name | Type | Default | Description |
---|---|---|---|
text | string | null | |
align | enum | 'left' | |
info | array | string | null |
ApChatStyle
Props
Name | Type | Default | Description |
---|---|---|---|
style | object | {} | |
highlightColor | string | ApStyle.DEFAULT_HIGHLIGHT_COLOR | |
backgroundColor | ApStyle.DEFAULT_BACKGROUND_COLOR |
ApChat
Props
Name | Type | Default | Description |
---|
License
This software is released under the MIT License.