• Parameters

    • options: IWithDndOptions<any>

    Returns (<P>(BaseComponent: ComponentType<P>) => ForwardRefExoticComponent<PropsWithoutRef<P & DraggableComponentProps> & RefAttributes<unknown>>)

      • <P>(BaseComponent): ForwardRefExoticComponent<PropsWithoutRef<P & DraggableComponentProps> & RefAttributes<unknown>>
      • Type Parameters

        • P

        Parameters

        • BaseComponent: ComponentType<P>

        Returns ForwardRefExoticComponent<PropsWithoutRef<P & DraggableComponentProps> & RefAttributes<unknown>>