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
Parameter | Type |
---|---|
props | ReflectionEditorProps |
context ? | any |
Returns
ReactNode
Source
libs/design-system-components/src/components/ReflectionEditor/index.tsx:32
Props
ReflectionEditorProps
ReflectionEditorProps:
EditorBoxProps
&object
Type declaration
Member | Type |
---|---|
background | object |
background.dark | Colors |
background.light | Colors |
borderBottomOnly | boolean |
customStyle | string |
noBorderRound | boolean |
placeholderButtonLabel | string |
setShowEditor | (showEditor ) => void |
showEditor | boolean |
Source
libs/design-system-components/src/components/ReflectionEditor/index.tsx:10