remirror/remirror

View on GitHub
packages/remirror__react-editors/src/types.ts

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
import type { CreateEditorStateProps } from 'remirror';
import type { RemirrorProps, UseThemeProps } from '@remirror/react';

export interface ReactEditorProps
  extends Pick<CreateEditorStateProps, 'stringHandler'>,
    Pick<RemirrorProps, 'initialContent' | 'editable' | 'autoFocus' | 'hooks'> {
  placeholder?: string;
  theme?: UseThemeProps['theme'];
}