{"id":13422130,"url":"https://github.com/ikr/react-star-rating-input","last_synced_at":"2025-03-15T10:31:41.760Z","repository":{"id":20896374,"uuid":"24183879","full_name":"ikr/react-star-rating-input","owner":"ikr","description":"React.js components for entering 0—N stars (N is 5 by default), or displaying 0—N stars","archived":false,"fork":false,"pushed_at":"2018-08-02T13:16:40.000Z","size":250,"stargazers_count":54,"open_issues_count":0,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-14T21:54:26.123Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/ikr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2014-09-18T10:24:42.000Z","updated_at":"2024-01-10T11:33:53.000Z","dependencies_parsed_at":"2022-09-26T17:41:03.893Z","dependency_job_id":null,"html_url":"https://github.com/ikr/react-star-rating-input","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikr%2Freact-star-rating-input","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikr%2Freact-star-rating-input/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikr%2Freact-star-rating-input/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikr%2Freact-star-rating-input/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ikr","download_url":"https://codeload.github.com/ikr/react-star-rating-input/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243719118,"owners_count":20336592,"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-07-30T23:00:37.616Z","updated_at":"2025-03-15T10:31:41.382Z","avatar_url":"https://github.com/ikr.png","language":"TypeScript","funding_links":[],"categories":["UI Components","Uncategorized","Awesome React","Demos","\u003csummary\u003eUI Components\u003c/summary\u003e"],"sub_categories":["Form Components","Uncategorized","Tools"],"readme":"[![Build Status](https://travis-ci.org/ikr/react-star-rating-input.svg?branch=master)](https://travis-ci.org/ikr/react-star-rating-input)\n\n# About\n\nReact.js components for entering 0—N stars (N is 5 by default), or displaying 0—N stars. See [the\ndemo](http://ikr.su/h/react-star-rating-input/demo.html).\n\nIt's published to npm compiled to ES5, and should work in IE11, if `Promise` gets polyfilled.\n\n# Installation\n\n    npm install --save react-star-rating-input\n\nThe two main exports are: `{StarRatingInput, StarRating}`. The former is for an interactive input\ncontrol, the latter is for passive star rating display. Star rasters and CSS is exported as the\n`{css}` string.\n\n# Usage\n\nSee [the code](https://github.com/ikr/react-star-rating-input/blob/master/src/demo.tsx) of the demo\nmentioned above.\n\n## StarRatingInput props\n\nStatic layout\n\n* `size` — how many stars to display. The default value is 5\n\nInteraction\n\n* `value` — how many stars are selected\n* `onChange: (value: number) =\u003e void` — your `value` change handler\n\n## StarRating props\n\n* `value` — how many stars are displayed\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fikr%2Freact-star-rating-input","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fikr%2Freact-star-rating-input","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fikr%2Freact-star-rating-input/lists"}