{"id":23222977,"url":"https://github.com/dckt/spacer-native","last_synced_at":"2026-05-03T10:31:49.972Z","repository":{"id":146972902,"uuid":"184390396","full_name":"DCKT/spacer-native","owner":"DCKT","description":"An utility component for pushing other elements and avoid `padding`, `margin` for React Native","archived":false,"fork":false,"pushed_at":"2019-06-25T11:42:50.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-05T16:35:08.365Z","etag":null,"topics":["react","react-native","reason-react","reason-react-native","reasonml"],"latest_commit_sha":null,"homepage":"","language":"OCaml","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/DCKT.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-01T08:43:42.000Z","updated_at":"2019-07-13T19:32:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"0512494b-dcbd-4470-b0dc-a5778232a4f8","html_url":"https://github.com/DCKT/spacer-native","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DCKT/spacer-native","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCKT%2Fspacer-native","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCKT%2Fspacer-native/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCKT%2Fspacer-native/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCKT%2Fspacer-native/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DCKT","download_url":"https://codeload.github.com/DCKT/spacer-native/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCKT%2Fspacer-native/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273010949,"owners_count":25030368,"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","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["react","react-native","reason-react","reason-react-native","reasonml"],"created_at":"2024-12-18T23:15:36.756Z","updated_at":"2026-05-03T10:31:44.938Z","avatar_url":"https://github.com/DCKT.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spacer-native\n\nAn utility component for pushing other elements and avoid `padding`, `margin` everywhere.\n\n## Usage\n\nInstall :\n\n```console\nyarn add @dck/spacer-native\n```\n\n### Web\n\n```js\nimport { Text } from 'react-native'\nimport Spacer from '@dck/spacer-native'\n\nconst App = () =\u003e {\n  \u003c\u003e\n    \u003cText\u003eHello\u003c/Text\u003e\n    \u003cSpacer height={10} /\u003e\n    \u003cText\u003eworld\u003c/Text\u003e\n  \u003c/\u003e\n}\n```\n\n### ReasonML\n\nAdd the module to your `bsconfig.json` file :\n\n```\n\"bs-dependencies\": [\n  ...,\n  \"@dck/spacer-native\"\n]\n```\n\nUse it in your app code :\n\n```ocaml\n[@react.component]\nlet make = () =\u003e {  \n  \u003c\u003e\n    \u003cText\u003e{\"Hello\" |\u003e React.string}\u003c/Text\u003e\n    \u003cSpacer height=10. /\u003e\n    \u003cText\u003e{\"World\" |\u003e React.string}\u003c/Text\u003e\n  \u003c/\u003e\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdckt%2Fspacer-native","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdckt%2Fspacer-native","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdckt%2Fspacer-native/lists"}