rename type

This commit is contained in:
Philipp Kühn
2021-03-31 10:22:54 +02:00
parent 6f5a96d2e5
commit df58611810

View File

@@ -9,7 +9,7 @@ export interface BubbleMenuPluginProps {
keepInBounds: boolean, keepInBounds: boolean,
} }
export type BubbleMenuViewOptions = BubbleMenuPluginProps & { export type BubbleMenuViewProps = BubbleMenuPluginProps & {
view: EditorView, view: EditorView,
} }
@@ -37,7 +37,7 @@ export class BubbleMenuView {
element, element,
keepInBounds, keepInBounds,
view, view,
}: BubbleMenuViewOptions) { }: BubbleMenuViewProps) {
this.editor = editor this.editor = editor
this.element = element this.element = element
this.keepInBounds = keepInBounds this.keepInBounds = keepInBounds