{"id":19882469,"url":"https://github.com/codingbyjerez/react-native-arrow-follow","last_synced_at":"2025-05-02T14:32:21.311Z","repository":{"id":57335470,"uuid":"369290681","full_name":"CodingByJerez/react-native-arrow-follow","owner":"CodingByJerez","description":"Arrow follow type schema in SVG","archived":false,"fork":false,"pushed_at":"2021-05-21T12:02:48.000Z","size":3555,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T15:56:46.244Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodingByJerez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-20T17:39:56.000Z","updated_at":"2021-07-18T21:15:01.000Z","dependencies_parsed_at":"2022-09-14T18:50:48.305Z","dependency_job_id":null,"html_url":"https://github.com/CodingByJerez/react-native-arrow-follow","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodingByJerez%2Freact-native-arrow-follow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodingByJerez%2Freact-native-arrow-follow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodingByJerez%2Freact-native-arrow-follow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodingByJerez%2Freact-native-arrow-follow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodingByJerez","download_url":"https://codeload.github.com/CodingByJerez/react-native-arrow-follow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252053927,"owners_count":21687194,"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-11-12T17:17:31.314Z","updated_at":"2025-05-02T14:32:20.810Z","avatar_url":"https://github.com/CodingByJerez.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-arrow-follow\n\n\u003cimg  src=\".github/image/preview.gif?raw=true\" height=\"280\" /\u003e\n\n## Installation\n\n### - Installing:\n```sh\nyarn add react-native-arrow-follow\n```\n\n\n### - Installing dependencies:\n\n- For Native project:\n```sh\nyarn add react-native-svg\n\npod install\n```\n- For Expo project:\n```sh\nexpo install react-native-svg\n```\n\n\n## Usage\n\n```tsx\nimport { ArrowFollow, CORNER, DIRECTION } from \"react-native-arrow-follow\";\n\n// ...\n\n  \u003cArrowFollow //\n    width={200}\n    height={200}\n    color={\"#000000\"}\n    size={14}\n    start={{\n      corner: CORNER.TOP_RIGHT,\n      direction: DIRECTION.HORIZONTAL\n    }}\n    end={{\n      corner: CORNER.BOTTOM_LEFT,\n      direction: DIRECTION.HORIZONTAL\n    }}\n  /\u003e\n\n// ...\n\n```\n\n## Documentation:\n\nA React node that will be most likely wrapping your whole app.\n\n| Name       | Description        | Require  | Default  | Type                                     |\n| ---------- | ------------------ | -------- | -------- | ---------------------------------------- |\n| height     | height rectangle   |     *    |          | number                                   |\n| width      | width rectangle    |     *    |          | number                                   |\n| size       | size line          |          | 12       | number                                   |\n| color      | color code         |          | #000000  | string                                   |\n| start      | start arrow        |     *    |          | {corner:CORNER, direction: DIRECTION}    |\n| end        | end arrow          |     *    |          | {corner:CORNER, direction: DIRECTION}    |\n\n\n```ts\ntype IProps = {\n  height: number;\n  width: number;\n  size?: number;\n  color?: string;\n  start: {\n    corner: ICorner;\n    direction: IDirection\n  };\n  end: {\n    corner: ICorner;\n    direction: IDirection\n  };\n};\ntype ICorner = CORNER | keyof typeof CORNER; //`${VERTICAL}_${HORIZONTAL}`;\ntype IDirection = DIRECTION | keyof typeof DIRECTION;\n\nenum DIRECTION {\n  HORIZONTAL = 'HORIZONTAL',\n  VERTICAL = 'VERTICAL',\n}\nenum CORNER {\n  TOP_LEFT = 'TOP_LEFT',\n  TOP_RIGHT = 'TOP_RIGHT',\n  BOTTOM_LEFT = 'BOTTOM_LEFT',\n  BOTTOM_RIGHT = 'BOTTOM_RIGHT',\n}\n```\n\n## Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingbyjerez%2Freact-native-arrow-follow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodingbyjerez%2Freact-native-arrow-follow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingbyjerez%2Freact-native-arrow-follow/lists"}