{"id":16293845,"url":"https://github.com/axetroy/react-clipboard","last_synced_at":"2026-05-15T11:35:51.257Z","repository":{"id":145997472,"uuid":"90183316","full_name":"axetroy/react-clipboard","owner":"axetroy","description":"clipboard wrapper component for react","archived":false,"fork":false,"pushed_at":"2019-04-08T12:44:29.000Z","size":430,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-24T18:29:10.144Z","etag":null,"topics":["clipboard","react","react-component","wrapper-component"],"latest_commit_sha":null,"homepage":"https://axetroy.github.io/react-clipboard/","language":"JavaScript","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/axetroy.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-03T18:57:47.000Z","updated_at":"2018-03-31T19:56:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"4fddc3eb-ae3b-46b1-aff6-f1defeca3756","html_url":"https://github.com/axetroy/react-clipboard","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/axetroy/react-clipboard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axetroy%2Freact-clipboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axetroy%2Freact-clipboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axetroy%2Freact-clipboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axetroy%2Freact-clipboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/axetroy","download_url":"https://codeload.github.com/axetroy/react-clipboard/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axetroy%2Freact-clipboard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33065681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["clipboard","react","react-component","wrapper-component"],"created_at":"2024-10-10T20:12:32.579Z","updated_at":"2026-05-15T11:35:51.241Z","avatar_url":"https://github.com/axetroy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-clipboard\n\n[clipboard](https://github.com/zenorocha/clipboard.js) wrapper component for react\n\n[Online demo](https://axetroy.github.io/react-clipboard/)\n\n## Install\n\n```bash\nyarn add react          # requirement\nyarn add clipboard      # requirement\nyarn add @axetroy/react-clipboard\n```\n\n## Usage\n\n```javascript\nimport { Component } from \"react\";\nimport ReactClipboard from \"@axetroy/react-clipboard\";\n\nclass App extends Component {\n  render() {\n    return (\n      \u003cdiv\u003e\n        \u003cReactClipboard\n          value={\"you will copy me!\"}\n          onSuccess={() =\u003e {\n            console.log(\"copy success\");\n          }}\n          onError={() =\u003e {\n            console.error(\"copy error\");\n          }}\n        \u003e\n          \u003cinput type=\"button\" value=\"Click me \u0026 copy that.\" /\u003e\n        \u003c/ReactClipboard\u003e\n      \u003c/div\u003e\n    );\n  }\n}\n```\n\n## Props\n\n* value: string\n\n  any string you want to copy\n\n* onSuccess: function\n\n  success callback\n\n* onError: function\n\n  error callback\n\n## Run the Demo\n\n```bash\ngit clone https://github.com/axetroy/react-clipboard.git\nyarn\nyarn start\n```\n\n### License\n\nThe [MIT License](https://github.com/axetroy/react-clipboard/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxetroy%2Freact-clipboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faxetroy%2Freact-clipboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxetroy%2Freact-clipboard/lists"}