packages/remirror__react-editors/src/types.ts
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'];
}