Build 533169stable
Module 205369
1,537 characters · in 5bbca1bd4054ceb2.jsDependencies
Source Raw
function(e,t,r){r.d(t,{T:()=>d});var n=r(321733),o=r(212246),i=r(162551),a=r(848575),s=r(201672),c=r(939932),u=r(490580);function d(e,t,r){var d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};(0,s.cl)("DropTarget","type, spec, collect[, options]",e,t,r,d);var p=e;"function"!=typeof e&&((0,n.V)((0,s.NE)(e,!0),'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',e),p=function(){return e}),(0,n.V)((0,s.Qd)(t),'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',t);var l=(0,u.i)(t);return(0,n.V)("function"==typeof r,'Expected "collect" provided as the third argument to DropTarget 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/drop-target',r),(0,n.V)((0,s.Qd)(d),'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',r),function(e){return(0,c.A)({containerDisplayName:"DropTarget",createHandler:l,registerHandler:o.l,createMonitor:function(e){return new i.b(e)},createConnector:function(e){return new a.P(e)},DecoratedComponent:e,getType:p,collect:r,options:d})}}}