Skip to main content

PrivateMessageEditor

Interfaces

PrivateMessageEditorProps

Indexable

[p: string]: any

Any other properties

Properties

PropertyTypeDescription
autoHide?booleanHides this component Default false
className?stringOverrides or extends the styles applied to the component. Default null
error?booleanIf there's an error Default false
onErrorRemove?() => voidCallback fired when removing error Default null
send?(message?, file?) => voidCallback to send the message

Functions

PrivateMessageEditor()

PrivateMessageEditor(inProps): Element

API documentation for the Community-JS Private Message Editor component. Learn about the available props and the CSS API.

Import

import {PrivateMessageEditor} from '@selfcommunity/react-ui';

Component Name

The name SCPrivateMessageEditor can be used when providing style overrides in the theme.

CSS

Rule NameGlobal classDescription
root.SCPrivateMessageEditor-rootStyles applied to the root element.
messageInput.SCPrivateMessageEditor-cardStyles applied to the message input element.
mediaUploader.SCPrivateMessageEditor-media-uploaderStyles applied to the message media uploader section.
emojiSection.SCPrivateMessageEditor-emoji-sectionStyles applied to the emoji section.

Parameters

ParameterTypeDescription
inPropsPrivateMessageEditorProps

Returns

Element


PrivateMessageEditorSkeleton()

PrivateMessageEditorSkeleton(): Element

API documentation for the Community-JS Message Editor Skeleton component. Learn about the available props and the CSS API.

Import

import {PrivateMessageEditorSkeleton} from '@selfcommunity/react-ui';

Component Name

The name SCMessageEditorSkeleton can be used when providing style overrides in the theme.

CSS

Rule NameGlobal classDescription
root.SCMessageEditorSkeleton-rootStyles applied to the root element.

Returns

Element