focus-comments
v0.3.8
Published
Comments extension for the Focus framework.
Downloads
74
Readme
Focus comments
Comments extension for the Focus solution.

Installation
npm i -S focus-commentsPlease note that you must you React with addons, so choose the appropriate built files to have React.addons defined.
Usage
<FocusComments {...props}/>Props
- apiRootUrl (
string): the API url, - concept (
string): the concept to plug the comments on, - conceptId (
string | number): the concept id, - userPictureResolver (
function): a function that takes the user id as an input, and returns the user picture url as an ouput, - texts :
- placeholder (
string): placeholder for the input field, - send (
string): send button caption, - edit (
string): edit button caption, - cancel (
string): cancel button caption
- placeholder (
- locale (
string): application locale (from momentJS)
