{"id":16017573,"url":"https://github.com/likethemammal/react-native-arcade-button","last_synced_at":"2025-06-25T06:38:54.105Z","repository":{"id":49956211,"uuid":"117801762","full_name":"likethemammal/react-native-arcade-button","owner":"likethemammal","description":"🕹️ Arcade button component for React Native","archived":false,"fork":false,"pushed_at":"2021-06-07T23:26:27.000Z","size":311,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-20T03:03:35.459Z","etag":null,"topics":["arcade","game-dev","react","react-native","react-primitives"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/likethemammal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-17T07:36:36.000Z","updated_at":"2024-06-10T09:21:50.000Z","dependencies_parsed_at":"2022-08-26T16:52:36.663Z","dependency_job_id":null,"html_url":"https://github.com/likethemammal/react-native-arcade-button","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/likethemammal/react-native-arcade-button","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/likethemammal%2Freact-native-arcade-button","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/likethemammal%2Freact-native-arcade-button/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/likethemammal%2Freact-native-arcade-button/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/likethemammal%2Freact-native-arcade-button/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/likethemammal","download_url":"https://codeload.github.com/likethemammal/react-native-arcade-button/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/likethemammal%2Freact-native-arcade-button/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261821222,"owners_count":23214851,"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":["arcade","game-dev","react","react-native","react-primitives"],"created_at":"2024-10-08T16:20:33.340Z","updated_at":"2025-06-25T06:38:54.077Z","avatar_url":"https://github.com/likethemammal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nreact-native-arcade-button\n=========\n\n[![Build Status](https://travis-ci.org/likethemammal/react-native-arcade-button.svg?branch=master)](https://travis-ci.org/likethemammal/react-native-arcade-button)\n[![Coverage Status](https://coveralls.io/repos/github/likethemammal/react-native-arcade-button/badge.svg?branch=master)](https://coveralls.io/github/likethemammal/react-native-arcade-button?branch=master)\n\n[![npm Version](https://img.shields.io/npm/v/react-native-arcade-button.svg)](https://www.npmjs.com/package/react-native-arcade-button)\n[![npm Downloads](https://img.shields.io/npm/dm/react-native-arcade-button.svg)](https://www.npmjs.com/package/react-native-arcade-button)\n[![license](https://img.shields.io/github/license/likethemammal/react-native-arcade-button.svg)](https://github.com/likethemammal/react-native-arcade-button/blob/master/LICENSE)\n\n[![screenshot](example/screenshot.png)](demo)\n\n[Live Demo (CodeSandbox)](https://codesandbox.io/s/1rk8r5j1z4)\n\n## Installation\n\n```sh\nnpm install --save react-native-arcade-button\n```\n\n### Usage\n\n```jsx\nimport React from 'react'\n\nimport ArcadeButton from 'react-native-arcade-button'\n\nclass Foo extends React.Component {\n\n  onClick = (e) =\u003e {\n    //...do some logic\n  }\n\n  render() {\n    return (\n      \u003cArcadeButton\n        onPressOut={this.onClick}\n      \u003e\n        \u003cText\u003eClick\u003c/Text\u003e\n      \u003c/ArcadeButton\u003e\n    )\n  }\n}\n\n```\n\n### Props\n\n| name        | type           | default  | desc \n--- | --- | --- | --- |\n| *children* | Component | null | Traditional React `children` component(s) passed along to label the button. Can be text, icon, etc. |\n| color | string | null | Any rgb, hex, hsv, etc. color supported by `StyleSheet`.\n| disabled | bool | false | Disables the button presses, will call `onDisabledOut` when pressed anyway (for user experience use cases). |\n| onDisabledOut | func | null | When `disabled` is true, function is called when button is pressed out anyway. |\n| onPressIn | func | null | Function called when button press in. |\n| onPressOut | func | null | Function called when button is released. |\n\n### License\n\nMade with 🍊 by [Chris Dolphin](https://github.com/likethemammal)\n\n[![license](https://img.shields.io/github/license/likethemammal/react-native-arcade-button.svg?style=flat-square)](https://github.com/likethemammal/react-native-arcade-button/blob/master/LICENSE)\n\n[demo]: (https://codesandbox.io/s/1rk8r5j1z4)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flikethemammal%2Freact-native-arcade-button","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flikethemammal%2Freact-native-arcade-button","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flikethemammal%2Freact-native-arcade-button/lists"}