{"id":21371841,"url":"https://github.com/only-icesoul/react-native-mediaquery","last_synced_at":"2026-04-13T08:32:35.839Z","repository":{"id":57339519,"uuid":"435019463","full_name":"Only-IceSoul/react-native-mediaquery","owner":"Only-IceSoul","description":"Responsive Android Web IOS ","archived":false,"fork":false,"pushed_at":"2021-12-06T18:23:41.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T22:05:32.459Z","etag":null,"topics":["android","ios","mediaquery","react","react-native","responsive","web"],"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/Only-IceSoul.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}},"created_at":"2021-12-04T22:09:34.000Z","updated_at":"2021-12-06T18:23:44.000Z","dependencies_parsed_at":"2022-09-16T13:00:24.594Z","dependency_job_id":null,"html_url":"https://github.com/Only-IceSoul/react-native-mediaquery","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Only-IceSoul%2Freact-native-mediaquery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Only-IceSoul%2Freact-native-mediaquery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Only-IceSoul%2Freact-native-mediaquery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Only-IceSoul%2Freact-native-mediaquery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Only-IceSoul","download_url":"https://codeload.github.com/Only-IceSoul/react-native-mediaquery/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243846982,"owners_count":20357297,"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":["android","ios","mediaquery","react","react-native","responsive","web"],"created_at":"2024-11-22T08:15:33.957Z","updated_at":"2026-04-13T08:32:35.798Z","avatar_url":"https://github.com/Only-IceSoul.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Native ReMediaQuery\n\nandroid   \nios \nweb \n\n## Getting started\n\n`$ npm install react-native-remediaquery --save`  \n`$ react-native link react-native-remediaquery`  \n  \nor\n\n`$ yarn add react-native-remediaquery`\n    \n\n# Usage\n\n\n\n```javascript\nimport { useMediaQuery,usePropsMaxWidth,usePropsMaxHeight, useStyleMaxHeight, useStyleMaxWidth } from \"react-native-remediaquery\";\n\n    //Max  descending order\n    //Min  ascending order\n\n    const styles = useStyleMaxWidth(styleBase,\n        [\n\n        1400,\n        1200,\n        1024,\n        900,\n        800,\n        700,\n        600\n        ],\n        [\n        style1400,\n        style1200,\n        style1024,\n        style900,\n        style800,\n        style700,\n        style600\n        ])\n\n        const styleBase = StyleSheet.create({\n            tabBarIconSize:{\n                width:50,\n                height:50,\n                marginBottom:50,\n                justifyContent:'center',\n                alignItems:'center'\n            },\n            friendImage:{\n                height:220,\n                width: 220 * 2.1575 \n            },\n\n        })\n\n    // You must copy all the style and change what you need\n        const style1400 = StyleSheet.create({\n            \n            friendImage:{\n                height:180, //changed\n                width: 180 * 2.1575  //changed\n            },\n        })\n\n        const style1200 = StyleSheet.create({\n            tabBarIconSize:{\n            width:30, //changed\n            height:30, //changed\n            marginBottom:50,\n            justifyContent:'center',\n            alignItems:'center'\n            },\n        })\n\n    //.....\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonly-icesoul%2Freact-native-mediaquery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonly-icesoul%2Freact-native-mediaquery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonly-icesoul%2Freact-native-mediaquery/lists"}