{"id":15837058,"url":"https://github.com/afeiship/react-photon","last_synced_at":"2025-03-15T17:31:31.378Z","repository":{"id":57342442,"uuid":"102721822","full_name":"afeiship/react-photon","owner":"afeiship","description":"Photon components built with React.","archived":false,"fork":false,"pushed_at":"2021-08-21T16:44:45.000Z","size":3905,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-27T03:54:42.673Z","etag":null,"topics":["css","electron","ios","mac","macos","photon","react","ui","uikit"],"latest_commit_sha":null,"homepage":"","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/afeiship.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-09-07T10:02:38.000Z","updated_at":"2022-10-18T00:30:14.000Z","dependencies_parsed_at":"2022-09-16T02:50:12.360Z","dependency_job_id":null,"html_url":"https://github.com/afeiship/react-photon","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Freact-photon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Freact-photon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Freact-photon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Freact-photon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afeiship","download_url":"https://codeload.github.com/afeiship/react-photon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243766686,"owners_count":20344797,"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":["css","electron","ios","mac","macos","photon","react","ui","uikit"],"created_at":"2024-10-05T15:20:40.005Z","updated_at":"2025-03-15T17:31:30.880Z","avatar_url":"https://github.com/afeiship.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-photon\n\u003e Photon components built with React.\n\n## thanks to\n[@frostney](https://github.com/frostney) Add me to the developer of `react-photon`.\n\n## preview\n- https://afeiship.github.io/react-photon/\n\n## installation\n```shell\nnpm i -S react-photon\n```\n\n## dynamic import\n1. install `babel-plugin-import`\n\n   ```shell\n   npm i -D babel-plugin-import\n   ```\n2. `.babelrc`\n\n  ```js\n  {\n    \"presets\": [\"@babel/preset-env\", \"@babel/react\"],\n    \"plugins\": [\n      // ....\n      [ \"import\", { \"libraryName\": \"react-photon\", \"libraryDirectory\": \"dist/lib\" } ]\n    ]\n  }\n  ```\n\n## resources\n- http://photonkit.com/\n- https://www.robinwieruch.de/minimal-react-webpack-babel-setup\n- https://vuikit.js.org/guide/introduction\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Freact-photon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafeiship%2Freact-photon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Freact-photon/lists"}