{"id":27968843,"url":"https://github.com/dxcweb/dxc-flex","last_synced_at":"2025-05-07T21:07:27.933Z","repository":{"id":29171972,"uuid":"120419378","full_name":"dxcweb/dxc-flex","owner":"dxcweb","description":"react版本flex简写布局,支持native","archived":false,"fork":false,"pushed_at":"2023-02-14T13:37:43.000Z","size":3736,"stargazers_count":3,"open_issues_count":20,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-07T21:07:23.852Z","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/dxcweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-06T07:43:00.000Z","updated_at":"2023-02-25T19:10:44.000Z","dependencies_parsed_at":"2023-01-14T14:17:44.920Z","dependency_job_id":null,"html_url":"https://github.com/dxcweb/dxc-flex","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxcweb%2Fdxc-flex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxcweb%2Fdxc-flex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxcweb%2Fdxc-flex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxcweb%2Fdxc-flex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dxcweb","download_url":"https://codeload.github.com/dxcweb/dxc-flex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252954425,"owners_count":21830905,"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-05-07T21:07:26.875Z","updated_at":"2025-05-07T21:07:27.923Z","avatar_url":"https://github.com/dxcweb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dxc-flex\ndxc-flex是一套简洁、优雅的react flex布局组件。  \n完整的TypedDefinition，ide提示快速完成开发。\n## install\n\n```\nyarn add dxc-flex\n```\n## Example\n[位置](http://www.dxcweb.com/api/dxc-flex/examples/simple.html)  \n[布局方式](http://www.dxcweb.com/api/dxc-flex/examples/layout.html)  \n[Flex布局](http://www.dxcweb.com/api/dxc-flex/examples/flex.html)  \n\n## API\n\u003ctable class=\"table table-bordered table-striped\"\u003e\n        \u003cthead\u003e\n          \u003ctr\u003e\n            \u003cth style=\"width: 100px;\"\u003eName\u003c/th\u003e\n            \u003cth style=\"width: 210px;\"\u003eType\u003c/th\u003e\n            \u003cth\u003eDefault\u003c/th\u003e\n            \u003cth\u003eDescription\u003c/th\u003e\n          \u003c/tr\u003e\n        \u003c/thead\u003e\n        \u003ctbody\u003e\n          \u003ctr\u003e\n            \u003ctd\u003elayout\u003c/td\u003e\n            \u003ctd\u003eString\u003c/td\u003e\n            \u003ctd\u003ehorizontal\u003c/td\u003e\n            \u003ctd\u003e布局方式: horizontal（水平布局），vertical（垂直布局），flow（流布局）\u003c/td\u003e\n          \u003c/tr\u003e\n          \u003ctr\u003e\n            \u003ctd\u003ehorizontal\u003c/td\u003e\n            \u003ctd\u003eString\u003c/td\u003e\n            \u003ctd\u003estart\u003c/td\u003e\n            \u003ctd\u003e水平方向: start（开始）center（居中）end（结束），around与between只能在 layout=\"horizontal\"时有效。\u003c/td\u003e\n          \u003c/tr\u003e\n          \u003ctr\u003e\n            \u003ctd\u003evertical\u003c/td\u003e\n            \u003ctd\u003eString\u003c/td\u003e\n            \u003ctd\u003estart\u003c/td\u003e\n            \u003ctd\u003e垂直方向: start（开始）center（居中）end（结束），around与between只能在 layout=\"vertical\"时有效。\u003c/td\u003e\n          \u003c/tr\u003e\n          \u003ctr\u003e\n            \u003ctd\u003eel\u003c/td\u003e\n            \u003ctd\u003eReact.ReactNode | String\u003c/td\u003e\n            \u003ctd\u003ediv\u003c/td\u003e\n            \u003ctd\u003e自定元素可以是react的组件也可以是html标签\u003c/td\u003e\n          \u003c/tr\u003e\n        \u003c/tbody\u003e\n      \u003c/table\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdxcweb%2Fdxc-flex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdxcweb%2Fdxc-flex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdxcweb%2Fdxc-flex/lists"}