{"id":25244706,"url":"https://github.com/react-melon/melon-split-pane","last_synced_at":"2025-04-05T21:15:25.335Z","repository":{"id":57155915,"uuid":"67275074","full_name":"react-melon/melon-split-pane","owner":"react-melon","description":"Split Pane Component","archived":false,"fork":false,"pushed_at":"2017-10-30T13:25:02.000Z","size":124,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-12T02:51:29.653Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/react-melon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-03T06:29:21.000Z","updated_at":"2016-12-12T07:38:57.000Z","dependencies_parsed_at":"2022-08-28T18:34:23.622Z","dependency_job_id":null,"html_url":"https://github.com/react-melon/melon-split-pane","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-melon%2Fmelon-split-pane","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-melon%2Fmelon-split-pane/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-melon%2Fmelon-split-pane/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-melon%2Fmelon-split-pane/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/react-melon","download_url":"https://codeload.github.com/react-melon/melon-split-pane/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247399888,"owners_count":20932880,"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":[],"created_at":"2025-02-12T01:34:59.128Z","updated_at":"2025-04-05T21:15:25.305Z","avatar_url":"https://github.com/react-melon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# melon-split-pane\n\n[![Build Status](https://travis-ci.org/react-melon/melon-split-pane.svg?branch=master)](https://travis-ci.org/react-melon/melon-split-pane)\n[![Coverage Status](https://coveralls.io/repos/github/react-melon/melon-split-pane/badge.svg?branch=master)](https://coveralls.io/github/react-melon/melon-split-pane?branch=master)\n\n## Usage\n\n```js\nimport React from 'react';\nimport SplitPane, {Pane} from 'melon-split-pane';\nimport ReactDOM from 'react-dom';\n\nimport './index.styl';\n\nReactDOM.render(\n    \u003cSplitPane direction=\"horizontal\"\u003e\n        \u003cPane basis={100} grow={1} shrink={0} min={200} max={500}\u003ea\u003c/Pane\u003e\n        \u003cPane\u003eb\u003c/Pane\u003e\n        \u003cPane\u003ec\u003c/Pane\u003e\n    \u003c/SplitPane\u003e,\n    document.getElementById('app')\n);\n```\n\n## Setup\n\n### webpack\n\n1. please check out [this](https://github.com/react-melon/melon#如何在-webpack-中使用-melon) first.\n\n2. `npm install -S melon-split-pane`\n\n### bower\n\n1. `bower install -S melon-split-pane`\n2. config your `requirejs` / `esl`\n\n    ```js\n    require.config({\n        paths: {\n            'melon-split-pane': 'bower_components/melon-split-pane/lib/SplitPane'\n        }\n    });\n    ```\n\n## API Document\n\ncheck [this](https://doc.esdoc.org/github.com/react-melon/melon-split-pane/) out\n\n## Run the example\n\n```sh\ngit clone git@github.com:react-melon/melon-split-pane.git\ncd melon-split-pane\nnpm install\nnpm start\nopen http://localhost:8080/example\n```\n\n## Thanks\n\nBig thanks to [BrowserStack](https://www.browserstack.com) for multiple-browsers automation testing!\n\n[![logo](https://cloud.githubusercontent.com/assets/811195/18348391/b524c38e-75fd-11e6-8a65-b175cf4ad91e.png)](https://www.browserstack.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-melon%2Fmelon-split-pane","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freact-melon%2Fmelon-split-pane","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-melon%2Fmelon-split-pane/lists"}