Build 545032stable
Module 22174
1,515 characters · in e25c22c4551b661f.jsDependencies
Source Raw
function(e,t,r){r.d(t,{I:()=>d});var n=r(321733),o=r(212246),i=r(541163),a=r(394886),s=r(201672),c=r(939932),u=r(979888);function d(e,t,r){var d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};(0,s.cl)("DragSource","type, spec, collect[, options]",e,t,r,d);var p=e;"function"!=typeof e&&((0,n.V)((0,s.NE)(e),'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',e),p=function(){return e}),(0,n.V)((0,s.Qd)(t),'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',t);var f=(0,u.C)(t);return(0,n.V)("function"==typeof r,'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',r),(0,n.V)((0,s.Qd)(d),'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',r),function(e){return(0,c.A)({containerDisplayName:"DragSource",createHandler:f,registerHandler:o.V,createConnector:function(e){return new i.b(e)},createMonitor:function(e){return new a.G(e)},DecoratedComponent:e,getType:p,collect:r,options:d})}}}