diff --git a/draft-js-focus-plugin/src/index.d.ts b/draft-js-focus-plugin/src/index.d.ts index f3ee8d1958..e84170ed46 100644 --- a/draft-js-focus-plugin/src/index.d.ts +++ b/draft-js-focus-plugin/src/index.d.ts @@ -3,6 +3,13 @@ import { EditorPlugin } from "draft-js-plugins-editor"; type FocusEditorPlugin = EditorPlugin & { decorator: DraftDecorator }; -declare const createFocusPlugin: () => FocusEditorPlugin; +export interface FocusEditorPluginConfig { + theme?: { + focused?: string; + unfocused?: string; + } +} + +declare const createFocusPlugin: (config?: FocusEditorPluginConfig) => FocusEditorPlugin; export default createFocusPlugin;