Skip to content

prosekit/preact/drop-indicator

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

<DropIndicator />

Props for the DropIndicator Preact component.

width?: number

The line width in pixels.

2

const DropIndicator: ForwardRefExoticComponent<DropIndicatorProps & HTMLAttributes<DropIndicatorElement> & RefAttributes<DropIndicatorElement>>

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