{"id":13741623,"url":"https://github.com/appli456/rax-multirow","last_synced_at":"2025-05-08T21:34:35.288Z","repository":{"id":95962632,"uuid":"175764548","full_name":"appli456/rax-multirow","owner":"appli456","description":null,"archived":false,"fork":false,"pushed_at":"2019-03-15T06:56:45.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-15T11:36:28.114Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"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/appli456.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-03-15T06:48:05.000Z","updated_at":"2019-10-12T09:22:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"a836b37d-3418-4c8c-b995-eef61fee7ac9","html_url":"https://github.com/appli456/rax-multirow","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appli456%2Frax-multirow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appli456%2Frax-multirow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appli456%2Frax-multirow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appli456%2Frax-multirow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appli456","download_url":"https://codeload.github.com/appli456/rax-multirow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253153164,"owners_count":21862318,"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":"2024-08-03T04:01:01.035Z","updated_at":"2025-05-08T21:34:35.008Z","avatar_url":"https://github.com/appli456.png","language":"JavaScript","funding_links":[],"categories":["Rax"],"sub_categories":["Rax Tools"],"readme":"# MultiRow\n\n[![npm](https://img.shields.io/npm/v/rax-multirow.svg)](https://www.npmjs.com/package/rax-multirow)\n\nMulti column layout component\n\n## Install\n\n```bash\n$ npm install rax-multirow --save\n```\n\n## Import\n\n```jsx\nimport MultiRow from 'rax-multirow';\n```\n\n## Props\n\n| name      | type       | default  | describe   |\n| :--------- | :------- | :--- | :--------------------------- |\n| renderCell | Function |      | render template function（need）                     |\n| dataSource | List     |      | data for render（need） |\n| cells      | Number   | 1    | each row contains several columns, default 1 columns\n（need）  |\n\n## Example\n\n![](https://img.alicdn.com/tps/TB12k55KVXXXXXfXVXXXXXXXXXX-415-230.png)\n\n```jsx\n// demo\nimport {createElement, Component, render} from 'rax';\nimport MultiRow from 'rax-multirow';\nimport View from 'rax-view';\n\nclass Demo extends Component {\n  render() {\n    return (\n      \u003cView style={{width: 750}}\u003e\n        \u003cMultiRow dataSource={['tom', 'jeck', 'lilei', 'hanmeimei']} \n         cells={2} renderCell={(num, index) =\u003e { return \u003cView\u003e{num}\u003c/View\u003e }} \n       /\u003e\n      \u003c/View\u003e\n    );\n  }\n}\n\nrender(\u003cDemo /\u003e);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappli456%2Frax-multirow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappli456%2Frax-multirow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappli456%2Frax-multirow/lists"}