Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WithDraggableOptions<V>

Type parameters

Hierarchy

  • Pick<DraggableProps<V>, "onRenderDragHandle" | "styles">
    • WithDraggableOptions

Index

Properties

Optional allowReadOnly

allowReadOnly: boolean

Optional filter

filter: (editor: TEditor<V>, path: Path) => boolean

Type declaration

    • (editor: TEditor<V>, path: Path): boolean
    • Parameters

      Returns boolean

Optional level

level: number

Optional onRenderDragHandle

onRenderDragHandle: (props: DragHandleProps) => Element

An override to render the drag handle.

Type declaration

Optional styles

styles: Partial<RootStyles> & Partial<DraggableStyles>

Customized styling that will layer on top of the default rules.

Generated using TypeDoc