Post Composer
Composer component for public and private text posts
import Composer from 'patchkit-post-composer' <Composer = = ="initial-channel-value" = = ="Write your message here" = = />
Options:
channels
: Channel suggestions (array of strings).suggestOptions
: Suggest-box suggestions (see suggest-box).thread
: Thread/message object, if this is a reply.channel
: Default channel value.recps
: Default recipients value (array of IDs).placeholder
: Placeholder string when there's no value.onSend
: Function called on publish.onCancel
: Function called on cancel.isPublic
: Default to public or private?verticalFilled
: Have the composer fill the vertical space?cancelBtn
: Should there be a cancel button?
Styles
Use the .less file:
"node_modules/patchkit-post-composer/styles.less"