Interface DispatchPropsOfArrayControl

Dispatch props of a table control

interface DispatchPropsOfArrayControl {
    addItem(path, value): (() => void);
    moveDown?(path, toMove): (() => void);
    moveUp?(path, toMove): (() => void);
    removeItems?(path, toDelete): (() => void);
}

Hierarchy (view full)

Methods

  • Parameters

    • path: string
    • value: any

    Returns (() => void)

      • (): void
      • Returns void

  • Parameters

    • path: string
    • toMove: number

    Returns (() => void)

      • (): void
      • Returns void

  • Parameters

    • path: string
    • toMove: number

    Returns (() => void)

      • (): void
      • Returns void

  • Parameters

    • path: string
    • toDelete: number[]

    Returns (() => void)

      • (): void
      • Returns void