{"id":16478435,"url":"https://github.com/batazor/react-dnd-simple","last_synced_at":"2025-06-19T05:06:07.710Z","repository":{"id":39615612,"uuid":"152738549","full_name":"batazor/react-dnd-simple","owner":"batazor","description":"Wrapper over react-dnd","archived":false,"fork":false,"pushed_at":"2023-10-06T22:24:21.000Z","size":521,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-06T04:50:36.014Z","etag":null,"topics":["drag-and-drop","react","react-dnd","wrapper"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/batazor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-12T11:07:13.000Z","updated_at":"2023-07-18T09:09:08.000Z","dependencies_parsed_at":"2025-04-04T17:39:47.176Z","dependency_job_id":null,"html_url":"https://github.com/batazor/react-dnd-simple","commit_stats":{"total_commits":181,"total_committers":4,"mean_commits":45.25,"dds":0.2817679558011049,"last_synced_commit":"32e0115904ebd11c76502ab544c17c7d5a6ab91e"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/batazor/react-dnd-simple","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/batazor%2Freact-dnd-simple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/batazor%2Freact-dnd-simple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/batazor%2Freact-dnd-simple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/batazor%2Freact-dnd-simple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/batazor","download_url":"https://codeload.github.com/batazor/react-dnd-simple/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/batazor%2Freact-dnd-simple/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260690832,"owners_count":23047099,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["drag-and-drop","react","react-dnd","wrapper"],"created_at":"2024-10-11T12:49:20.550Z","updated_at":"2025-06-19T05:06:02.694Z","avatar_url":"https://github.com/batazor.png","language":"JavaScript","readme":"# react-dnd-simple\n\nWrapper over react-dnd\n\n### Usage\n\n```js\nimport { Context, Drag, Drop } from 'react-dnd-simple'\n\n// ...code\n\u003cContext\u003e\n\n  \u003cDrag\n    type=\"owner\"\n    data={{ _id: item._id }}\n    className={s.Card}\n    isDragClassName={s.isDragClassName}\n\n    onDnD={onDnD}\n    style={{ ...style }}\n  \u003e\n    \u003cdiv\u003e\n      {item[dataKey]}\n    \u003c/div\u003e\n  \u003c/Drag\u003e\n\n  \u003cDrop\n    accepts={['owner']}\n    data={{ _id: item._id }}\n    isActiveClassName={s.isActiveContainer}\n    isDropClassName={s.isDropClassNameContainer}\n    style={{ ...style }}\n  \u003e\n    \u003cdiv\u003e\n      {item[dataKey]}\n    \u003c/div\u003e\n  \u003c/Drop\u003e\n\u003c/Context\u003e\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbatazor%2Freact-dnd-simple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbatazor%2Freact-dnd-simple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbatazor%2Freact-dnd-simple/lists"}