{"id":18160212,"url":"https://github.com/swimshahriar/re-modal","last_synced_at":"2025-05-07T08:44:48.277Z","repository":{"id":57163965,"uuid":"436152596","full_name":"swimshahriar/re-modal","owner":"swimshahriar","description":"A simple react modal, dropdown (draggable) npm package.","archived":false,"fork":false,"pushed_at":"2024-10-26T18:28:28.000Z","size":204,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-24T13:09:15.340Z","etag":null,"topics":["draggable","modal","nested-modal","react","react-dropdown","react-modal","react-portal"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@swimshahriar/re-modal","language":"JavaScript","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/swimshahriar.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":"2021-12-08T07:17:42.000Z","updated_at":"2024-10-26T18:28:32.000Z","dependencies_parsed_at":"2022-09-03T23:01:59.250Z","dependency_job_id":null,"html_url":"https://github.com/swimshahriar/re-modal","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swimshahriar%2Fre-modal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swimshahriar%2Fre-modal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swimshahriar%2Fre-modal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swimshahriar%2Fre-modal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swimshahriar","download_url":"https://codeload.github.com/swimshahriar/re-modal/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252846331,"owners_count":21813421,"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":["draggable","modal","nested-modal","react","react-dropdown","react-modal","react-portal"],"created_at":"2024-11-02T08:07:43.022Z","updated_at":"2025-05-07T08:44:48.256Z","avatar_url":"https://github.com/swimshahriar.png","language":"JavaScript","funding_links":["https://www.buymeacoffee.com/swimshahriar"],"categories":[],"sub_categories":[],"readme":"### Features\n\n- Supports Nested modal ✅\n- Supports draggable dropdown menu ✅\n- Style object for styling 🖌\n\n### Support\n\n\u003ca href=\"https://www.buymeacoffee.com/swimshahriar\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" alt=\"Buy Me A Coffee\" style=\"height: 60px !important;width: 217px !important;\" \u003e\u003c/a\u003e\n\n### Installation\n\n```zsh\nnpm i @swimshahriar/re-modal\n# or\nyarn add @swimshahriar/re-modal\n```\n\n### Examples\n\nLink: [sandbox](https://codesandbox.io/s/swimshahriar-re-modal-cjbfd?file=/src/App.js)\n\u003cbr/\u003e\n\n### Props\n\n| Prop          | Type                        | isRequired                     |\n| ------------- | --------------------------- | ------------------------------ |\n| open          | boolean                     | required                       |\n| onClose       | function                    | required                       |\n| type          | string ('modal','dropdown') | optional                       |\n| isOverlay     | boolean                     | optional                       |\n| draggable     | boolean                     | optional                       |\n| targetRef     | useRef Element              | required if type is 'dropdown' |\n| style         | style object                | optional                       |\n| dragAreaStyle | style object                | optional                       |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswimshahriar%2Fre-modal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswimshahriar%2Fre-modal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswimshahriar%2Fre-modal/lists"}