Module: Editor
Namespaces
Interfaces
Type Aliases
EditorRef
Ƭ EditorRef: Object
Type declaration
Name | Type |
---|---|
focus | () => void |
Defined in
packages/react-ui/src/components/Editor/Editor.tsx:42
Functions
EditorSkeleton
▸ EditorSkeleton(): JSX.Element
API documentation for the Community-JS Editor Skeleton component. Learn about the available props and the CSS API.
Import
import {EditorSkeleton} from '@selfcommunity/react-ui';
Component Name
The name SCEditor-skeleton-root
can be used when providing style overrides in the theme.
CSS
Rule Name | Global class | Description |
---|---|---|
root | .SCEditor-skeleton-root | Styles applied to the root element. |
Returns
JSX.Element
Defined in
packages/react-ui/src/components/Editor/Skeleton.tsx:34
editor
▸ editor(props
): ReactElement
<any
, string
| JSXElementConstructor
<any
>>
NOTE: Exotic components are not callable.
Parameters
Name | Type |
---|---|
props | EditorProps & RefAttributes <EditorRef > |
Returns
ReactElement
<any
, string
| JSXElementConstructor
<any
>>
Defined in
node_modules/@types/react/index.d.ts:350