{"id":15828969,"url":"https://github.com/afeiship/react-draggable-tree","last_synced_at":"2025-06-19T09:32:51.272Z","repository":{"id":57122989,"uuid":"292238139","full_name":"afeiship/react-draggable-tree","owner":"afeiship","description":"Draggable tree for react.","archived":false,"fork":false,"pushed_at":"2021-03-25T05:26:47.000Z","size":1054,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-02T17:25:47.500Z","etag":null,"topics":["draggable","react","sortablejs","tree"],"latest_commit_sha":null,"homepage":"","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/afeiship.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-02T09:26:22.000Z","updated_at":"2021-03-25T05:26:49.000Z","dependencies_parsed_at":"2022-08-24T14:59:33.094Z","dependency_job_id":null,"html_url":"https://github.com/afeiship/react-draggable-tree","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/afeiship/react-draggable-tree","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Freact-draggable-tree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Freact-draggable-tree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Freact-draggable-tree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Freact-draggable-tree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afeiship","download_url":"https://codeload.github.com/afeiship/react-draggable-tree/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Freact-draggable-tree/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260724365,"owners_count":23052722,"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":["draggable","react","sortablejs","tree"],"created_at":"2024-10-05T11:00:25.085Z","updated_at":"2025-06-19T09:32:46.251Z","avatar_url":"https://github.com/afeiship.png","language":"JavaScript","readme":"# react-draggable-tree\n\u003e Draggable tree for react.\n\n[![version][version-image]][version-url]\n[![license][license-image]][license-url]\n[![size][size-image]][size-url]\n[![download][download-image]][download-url]\n\n## installation\n```shell\nnpm install -S @jswork/react-draggable-tree\n```\n\n## properties\n| Name      | Type   | Required | Default | Description                           |\n| --------- | ------ | -------- | ------- | ------------------------------------- |\n| className | string | false    | -       | The extended className for component. |\n| value     | object | false    | null    | The changed value.                    |\n| onChange  | func   | false    | noop    | The change handler.                   |\n\n\n## usage\n1. import css\n  ```scss\n  @import \"~@jswork/react-draggable-tree/dist/style.css\";\n\n  // or use sass\n  @import \"~@jswork/react-draggable-tree/dist/style.scss\";\n\n  // customize your styles:\n  $react-draggable-tree-options: ()\n  ```\n2. import js\n  ```js\n  import ReactDemokit from '@jswork/react-demokit';\n  import React from 'react';\n  import ReactDOM from 'react-dom';\n  import ReactDraggableTree from '@jswork/react-draggable-tree';\n  import './assets/style.scss';\n\n  class App extends React.Component {\n    render() {\n      return (\n        \u003cReactDemokit\n          className=\"p-3 app-container\"\n          url=\"https://github.com/afeiship/react-draggable-tree\"\u003e\n          \u003cReactDraggableTree className=\"mb-5 has-text-white\" /\u003e\n          \u003cbutton className=\"button is-primary is-fullwidth\"\u003eStart~\u003c/button\u003e\n        \u003c/ReactDemokit\u003e\n      );\n    }\n  }\n\n  ReactDOM.render(\u003cApp /\u003e, document.getElementById('app'));\n\n  ```\n\n## documentation\n- https://afeiship.github.io/react-draggable-tree/\n\n\n## license\nCode released under [the MIT license](https://github.com/afeiship/react-draggable-tree/blob/master/LICENSE.txt).\n\n[version-image]: https://img.shields.io/npm/v/@jswork/react-draggable-tree\n[version-url]: https://npmjs.org/package/@jswork/react-draggable-tree\n\n[license-image]: https://img.shields.io/npm/l/@jswork/react-draggable-tree\n[license-url]: https://github.com/afeiship/react-draggable-tree/blob/master/LICENSE.txt\n\n[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/react-draggable-tree\n[size-url]: https://github.com/afeiship/react-draggable-tree/blob/master/dist/react-draggable-tree.min.js\n\n[download-image]: https://img.shields.io/npm/dm/@jswork/react-draggable-tree\n[download-url]: https://www.npmjs.com/package/@jswork/react-draggable-tree\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Freact-draggable-tree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafeiship%2Freact-draggable-tree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Freact-draggable-tree/lists"}