{"id":17963355,"url":"https://github.com/kristerkari/react-native-types-for-css-modules","last_synced_at":"2025-03-25T05:32:15.697Z","repository":{"id":48605775,"uuid":"118777718","full_name":"kristerkari/react-native-types-for-css-modules","owner":"kristerkari","description":"React Native Typescript types with an extra added type: className property","archived":false,"fork":false,"pushed_at":"2024-02-23T02:18:41.000Z","size":597,"stargazers_count":14,"open_issues_count":3,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-19T09:14:12.452Z","etag":null,"topics":["classname","css-modules","react-native","types","typescript"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/kristerkari.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-01-24T14:41:11.000Z","updated_at":"2023-07-23T17:37:39.000Z","dependencies_parsed_at":"2024-02-23T03:26:46.282Z","dependency_job_id":"4cf4f95e-c6c7-40cc-a12a-1887eead02c9","html_url":"https://github.com/kristerkari/react-native-types-for-css-modules","commit_stats":null,"previous_names":[],"tags_count":379,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kristerkari%2Freact-native-types-for-css-modules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kristerkari%2Freact-native-types-for-css-modules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kristerkari%2Freact-native-types-for-css-modules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kristerkari%2Freact-native-types-for-css-modules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kristerkari","download_url":"https://codeload.github.com/kristerkari/react-native-types-for-css-modules/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245407589,"owners_count":20610228,"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":["classname","css-modules","react-native","types","typescript"],"created_at":"2024-10-29T11:35:03.043Z","updated_at":"2025-03-25T05:32:15.292Z","avatar_url":"https://github.com/kristerkari.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Typescript types for React Native CSS modules\n\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://egghead.io/courses/how-to-contribute-to-an-open-source-project-on-github)\n\n[React Native Typescript types](https://www.npmjs.com/package/@types/react-native) with an extra added type: `className` property.\n\nThese types should be used together with [React Native CSS modules](https://github.com/kristerkari/react-native-css-modules).\n\n## Installation\n\n**The `package.json` alias feature used here is only supported by Yarn. The feature is not supported by npm.**\n\nReplace normal `@types/react-native` installation...\n\n```json\n\"@types/react-native\": \"^0.57.55\",\n```\n\n...with this (versions `\u003e=0.52.4` are supported):\n\n```json\n\"@types/react-native\": \"kristerkari/react-native-types-for-css-modules#v0.57.55\",\n```\n\n...and run `yarn install`.\n\nYou can also omit the version tag (not recommended):\n\n```json\n\"@types/react-native\": \"kristerkari/react-native-types-for-css-modules\",\n```\n\n## Keeping in sync with new `@types/react-native` versions\n\nNew `@types/react-native` versions are being regularly published from the [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped) repository.\n\nIt would be too difficult and time consuming to manually update the `className` type to each new version of `@types/react-native`. That's why there is a Ruby script that looks for new `@types/react-native` versions from `npm` and creates a new version to this repository.\n\nUse `ruby update_versions.rb` to update `className` type to newer `@types/react-native` version(s).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkristerkari%2Freact-native-types-for-css-modules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkristerkari%2Freact-native-types-for-css-modules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkristerkari%2Freact-native-types-for-css-modules/lists"}