{"id":17961844,"url":"https://github.com/kyle-ssg/react-native-simple-drawer","last_synced_at":"2025-03-25T04:31:35.734Z","repository":{"id":57335381,"uuid":"76790741","full_name":"kyle-ssg/react-native-simple-drawer","owner":"kyle-ssg","description":null,"archived":false,"fork":false,"pushed_at":"2017-01-28T16:50:15.000Z","size":5392,"stargazers_count":11,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-20T00:45:08.559Z","etag":null,"topics":["drawer","menu","react-native","react-native-simple-drawer"],"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/kyle-ssg.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":"2016-12-18T15:27:03.000Z","updated_at":"2022-04-10T15:37:18.000Z","dependencies_parsed_at":"2022-09-14T15:01:41.572Z","dependency_job_id":null,"html_url":"https://github.com/kyle-ssg/react-native-simple-drawer","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/kyle-ssg%2Freact-native-simple-drawer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyle-ssg%2Freact-native-simple-drawer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyle-ssg%2Freact-native-simple-drawer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyle-ssg%2Freact-native-simple-drawer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kyle-ssg","download_url":"https://codeload.github.com/kyle-ssg/react-native-simple-drawer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245401360,"owners_count":20609161,"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":["drawer","menu","react-native","react-native-simple-drawer"],"created_at":"2024-10-29T11:11:44.613Z","updated_at":"2025-03-25T04:31:35.285Z","avatar_url":"https://github.com/kyle-ssg.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cimg src=\"./screen.gif\"/\u003e\n\n*** Required Props ***\n- menu: The menu component\n\n*** Optional Props (See ./example for usage) ***\n- targetOffset: How far from the edge before responding to gestures\n- disableGestures: disable swipe to show/hide\n- onChange:(isOpen)=\u003e{}\n- direction: \"left\" or \"right\"\n- style: The style of the menu\n- width: The width of the menu\n- value: Optional ```Animated.Value(0)``` used to link animations inline with menu\n\n*** Functions ***\n- ref.close()\n- ref.open()\n\n***Minimal Example***\n\n```\nimport SideMenu = from 'react-native-simple-drawer';\n```\n\n\n```\n    render() {\n        const menu = (\n            \u003cView style={{padding:10}}\u003e\n                \u003cText\u003ereact-native-simple-drawer\u003c/Text\u003e\n            \u003c/View\u003e\n        )\n        return (\n            \u003cSideMenu\n                ref=\"menu\"\n                menu={menu}\u003e\n                \u003cView\u003e\n                    \u003cTouchableOpacity onPress={() =\u003e this.refs.menu.open()}\u003e\n                        \u003cText\u003eToggle Menu\u003c/Text\u003e\n                    \u003c/TouchableOpacity\u003e\n                \u003c/View\u003e\n            \u003c/SideMenu\u003e\n        );\n    }\n    };\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyle-ssg%2Freact-native-simple-drawer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkyle-ssg%2Freact-native-simple-drawer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyle-ssg%2Freact-native-simple-drawer/lists"}