Skip to main content

ReflectionEditor

Components

ReflectionEditor()

ReflectionEditor(props, context?): ReactNode

Component used as a text editor for posting reflections (comments) It is a wrapper over the slate.js based akasha editor, containing also the placeholder component for when the editor is inactive. Upon clicking the placeholder the user opens the editor.

Parameters

ParameterType
propsReflectionEditorProps
context?any

Returns

ReactNode

Source

libs/design-system-components/src/components/ReflectionEditor/index.tsx:32

Props

ReflectionEditorProps

ReflectionEditorProps: EditorBoxProps & object

Type declaration

MemberType
backgroundobject
background.darkColors
background.lightColors
borderBottomOnlyboolean
customStylestring
noBorderRoundboolean
placeholderButtonLabelstring
setShowEditor(showEditor) => void
showEditorboolean

Source

libs/design-system-components/src/components/ReflectionEditor/index.tsx:10