Skip to content

prosekit/react/drop-indicator

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

<DropIndicator />

Props for the DropIndicator React component.

width?: number

The line width in pixels.

2

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

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