{"id":4546,"url":"https://github.com/jsifalda/styled-react-native","last_synced_at":"2025-04-11T06:37:40.634Z","repository":{"id":57373383,"uuid":"139012880","full_name":"jsifalda/styled-react-native","owner":"jsifalda","description":"For easy styling of react native components and its style composition","archived":false,"fork":false,"pushed_at":"2018-07-01T13:44:14.000Z","size":21,"stargazers_count":17,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T14:18:32.156Z","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/jsifalda.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":"2018-06-28T12:06:27.000Z","updated_at":"2023-08-24T20:44:40.000Z","dependencies_parsed_at":"2022-08-30T00:41:09.339Z","dependency_job_id":null,"html_url":"https://github.com/jsifalda/styled-react-native","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsifalda%2Fstyled-react-native","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsifalda%2Fstyled-react-native/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsifalda%2Fstyled-react-native/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsifalda%2Fstyled-react-native/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsifalda","download_url":"https://codeload.github.com/jsifalda/styled-react-native/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248358547,"owners_count":21090401,"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:15.872Z","updated_at":"2025-04-11T06:37:40.611Z","avatar_url":"https://github.com/jsifalda.png","language":"JavaScript","readme":"# Styled react native components\n### For easy styling of react native components and its style composition\n\n**Read more about this package in [this Medium article - Advanced React Native styling with a few lines of code](https://medium.com/@JSifalda/advanced-react-native-styling-with-a-few-lines-of-code-4b6a94385015)**\n\n## Usage\n```js\n  import styled from 'styled-react-native'\n  import { Text } from 'react-native'\n\n  const Headline = styled(Text)(() =\u003e {\n    return {\n      fontSize: 20,\n      textAlign: 'center',\n      margin: 10\n    }\n  })\n\n  const BoldHeadline = styled(Headline)(() =\u003e {\n    return {\n      fontWeight: 'bold'\n    }\n  })\n```\n\nor\n\n```js\n  import styled from 'styled-react-native'\n  import { Text } from 'react-native'\n\n  const Headline = styled(Text)\n  \u003cHeadline {...{style: {color: 'red'}}} /\u003e\n```\n","funding_links":[],"categories":["Components"],"sub_categories":["Styling"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsifalda%2Fstyled-react-native","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsifalda%2Fstyled-react-native","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsifalda%2Fstyled-react-native/lists"}