{"id":13475163,"url":"https://github.com/tj/react-click-outside","last_synced_at":"2025-04-04T10:07:45.356Z","repository":{"id":55554979,"uuid":"52464952","full_name":"tj/react-click-outside","owner":"tj","description":"ClickOutside component for React.","archived":false,"fork":false,"pushed_at":"2020-12-22T10:27:18.000Z","size":22,"stargazers_count":775,"open_issues_count":18,"forks_count":75,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-28T09:07:15.027Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/tj.png","metadata":{"files":{"readme":"Readme.md","changelog":"History.md","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":"2016-02-24T18:31:23.000Z","updated_at":"2025-03-23T05:42:30.000Z","dependencies_parsed_at":"2022-08-15T03:10:21.402Z","dependency_job_id":null,"html_url":"https://github.com/tj/react-click-outside","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tj%2Freact-click-outside","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tj%2Freact-click-outside/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tj%2Freact-click-outside/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tj%2Freact-click-outside/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tj","download_url":"https://codeload.github.com/tj/react-click-outside/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247157281,"owners_count":20893220,"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-07-31T16:01:17.903Z","updated_at":"2025-04-04T10:07:45.320Z","avatar_url":"https://github.com/tj.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","React","📦 Legacy \u0026 Inactive Projects"],"sub_categories":["React Components"],"readme":"\n# ClickOutside\n\nReact click outside component.\n\n## Installation\n\n```\n$ npm install tj/react-click-outside\n```\n\n## Example\n\n```js\n\u003cClickOutside onClickOutside={::this.close}\u003e\n  \u003cp\u003eIm a menu or something that you want to hide when clicking outside.\u003c/p\u003e\n\u003c/ClickOutside\u003e\n```\n\n## Badges\n\n![](https://img.shields.io/badge/license-MIT-blue.svg)\n![](https://img.shields.io/badge/status-stable-green.svg)\n\n---\n\n\u003e [tjholowaychuk.com](http://tjholowaychuk.com) \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e GitHub [@tj](https://github.com/tj) \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e Twitter [@tjholowaychuk](https://twitter.com/tjholowaychuk)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftj%2Freact-click-outside","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftj%2Freact-click-outside","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftj%2Freact-click-outside/lists"}