{"id":4247,"url":"https://github.com/chirag04/react-native-dashed-border","last_synced_at":"2025-04-30T17:09:11.102Z","repository":{"id":31668819,"uuid":"35234279","full_name":"chirag04/react-native-dashed-border","owner":"chirag04","description":"A \u003cDashedBorder\u003e element for react-native","archived":false,"fork":false,"pushed_at":"2016-02-08T16:41:19.000Z","size":14,"stargazers_count":40,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-30T17:09:01.801Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","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/chirag04.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":"2015-05-07T17:41:37.000Z","updated_at":"2023-03-09T02:22:42.000Z","dependencies_parsed_at":"2022-09-06T16:40:25.996Z","dependency_job_id":null,"html_url":"https://github.com/chirag04/react-native-dashed-border","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/chirag04%2Freact-native-dashed-border","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chirag04%2Freact-native-dashed-border/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chirag04%2Freact-native-dashed-border/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chirag04%2Freact-native-dashed-border/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chirag04","download_url":"https://codeload.github.com/chirag04/react-native-dashed-border/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251748950,"owners_count":21637418,"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-01-05T20:17:05.716Z","updated_at":"2025-04-30T17:09:10.714Z","avatar_url":"https://github.com/chirag04.png","language":"Objective-C","readme":"#DEPRECATED\ndashed border already works on react native 0.19+. Use `style : { borderStyle: 'dashed' }` in your stylesheet. \n\n# react-native-dashed-border\n\nVery simple native component that gives you dashed borders. Copied from brentvatne example [here](https://github.com/brentvatne/react-native-dashed-border-example)\n\n### Add it to your ios project\n\n1. Run `npm install react-native-dashed-border --save`\n2. Open your project in XCode, right click on `Libraries` and click `Add\n   Files to \"Your Project Name\"` [(Screenshot)](http://url.brentvatne.ca/jQp8) then [(Screenshot)](http://url.brentvatne.ca/1gqUD).\n3. Add `libRNDashedBorder.a` to `Build Phases -\u003e Link Binary With Libraries`\n   [(Screenshot)](http://url.brentvatne.ca/17Xfe).\n4. Whenever you want to use it within React code now you can: `var DashedBorder = require('react-native-dashed-border');`\n\n### Add it to your android project\n\nJust ``npm install react-native-dashed-border`` and require should work.\n\n### Note\n1. lineDashPattern is not supported on android.\n\n## Example\n\n```javascript\nvar React = require('react-native');\nvar DashedBorder = require('react-native-dashed-border');\n\nvar DashedBorderExampleApp = React.createClass({\n  render: function() {\n    return (\n      \u003cDashedBorder color={React.processColor('#343434')} lineDashPattern={[4,2]} lineWidth={1.5} style={styles.container}\u003e\n        \u003cImage source={require('image!announcement')} style={styles.image} /\u003e\n      \u003c/DashedBorder\u003e\n    );\n  }\n});\n```\n\n![Demo](https://raw.githubusercontent.com/brentvatne/react-native-dashed-border-example/master/example.png)\n\n\n","funding_links":[],"categories":["Components","Others"],"sub_categories":["UI"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchirag04%2Freact-native-dashed-border","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchirag04%2Freact-native-dashed-border","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchirag04%2Freact-native-dashed-border/lists"}