{"id":4198,"url":"https://github.com/kirkness/react-native-fs-modal","last_synced_at":"2025-08-04T00:32:30.610Z","repository":{"id":31619642,"uuid":"35184694","full_name":"kirkness/react-native-fs-modal","owner":"kirkness","description":"React native full screen modal component.","archived":false,"fork":false,"pushed_at":"2015-12-30T11:59:49.000Z","size":4,"stargazers_count":50,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-06T22:34:39.278Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/kirkness.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":"2015-05-06T21:49:38.000Z","updated_at":"2023-03-09T02:19:59.000Z","dependencies_parsed_at":"2022-09-10T02:52:11.714Z","dependency_job_id":null,"html_url":"https://github.com/kirkness/react-native-fs-modal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirkness%2Freact-native-fs-modal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirkness%2Freact-native-fs-modal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirkness%2Freact-native-fs-modal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirkness%2Freact-native-fs-modal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kirkness","download_url":"https://codeload.github.com/kirkness/react-native-fs-modal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228576898,"owners_count":17939645,"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-01-05T20:17:04.227Z","updated_at":"2024-12-07T07:31:31.064Z","avatar_url":"https://github.com/kirkness.png","language":"JavaScript","funding_links":[],"categories":["Components","JavaScript","Others"],"sub_categories":["UI","Dialog/Modal/Alert"],"readme":"# react-native-fs-modal\n\nReact native full screen modal component.\n\n### Demo\n\n![React Native Modal Component GIF](https://carquids.box.com/shared/static/lwu7uso8rx5wqwb9dlvdg6vdqit7szty.gif \"React Native Modal Component GIF\")\n\n### Usage\n\n**_NOTE:_** If you are using the native status bar you will need to combine this plugin with the [react-native-overlay plugin](https://github.com/brentvatne/react-native-overlay)\n\n##### Using ref\n\n```js\n\n/**\n * Two methods show/hide\n */\n\nshowModal () {\n  this.refs.modal.show();\n}\n\nhideModal () {\n  this.refs.modal.close();\n}\n\n...\n\n\u003cModal\n  // Use ref to allow open/close\n  ref={'modal'}\n\n  // Duration of animation (defaults 500)\n  duration={1000}\n\n  // Any tween function (defaults 'easeOutBack')\n  tween={'easeOutElastic'}\n\n  // Pass styles to modal\n  modalStyle={{borderRadius: 0}}\n\n  // Hide/show UIStatusBar (defaults to true)\n  hideStatusBar={true}\n  // close modal when touch underlay\n  closeOnTouch={true}\n  \u003e\n\n  // Your modal's content\n  \u003cView style={theme.padder}\u003e\n    \u003cButton\n      onPress={this.hideModal.bind(this)}\n      text={'Close modal'}/\u003e\n  \u003c/View\u003e\n\u003c/Modal\u003e\n\n```\n\n\n##### Using a child component\n\n```js\n\n\u003cModal\u003e\n\n  /**\n   * The hide func will be added to SomeComponent's props.\n   * This will allow you to add close buttons from within\n   * the modal's view.\n   */\n\n  \u003cSomeComponent /\u003e\n\u003c/Modal\u003e\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkirkness%2Freact-native-fs-modal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkirkness%2Freact-native-fs-modal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkirkness%2Freact-native-fs-modal/lists"}