- withDnd(options): (<P>(BaseComponent: ComponentType<P>) => ForwardRefExoticComponent<PropsWithoutRef<P & DraggableComponentProps> & RefAttributes<unknown>>)
Parameters
- options: IWithDndOptions<any>
Returns (<P>(BaseComponent: ComponentType<P>) => ForwardRefExoticComponent<PropsWithoutRef<P & DraggableComponentProps> & RefAttributes<unknown>>)
- <P>(BaseComponent): ForwardRefExoticComponent<PropsWithoutRef<P & DraggableComponentProps> & RefAttributes<unknown>>
Parameters
- BaseComponent: ComponentType<P>
Returns ForwardRefExoticComponent<PropsWithoutRef<P & DraggableComponentProps> & RefAttributes<unknown>>