Skip to content

prosekit/svelte/drop-indicator

import { DropIndicator } from 'prosekit/svelte/drop-indicator'

<DropIndicator />

Props for the DropIndicator Svelte component.

width?: number

The line width in pixels.

2

children?: Snippet<[]>

const DropIndicator: Component<DropIndicatorProps & HTMLAttributes<DropIndicatorElement>>

A Svelte component that renders an prosekit-drop-indicator custom element.