{"id":21189254,"url":"https://github.com/uptick/react-day-input","last_synced_at":"2025-03-14T20:42:22.000Z","repository":{"id":65483166,"uuid":"68253864","full_name":"uptick/react-day-input","owner":"uptick","description":"A simple date picker for react, powered by Moment.","archived":false,"fork":false,"pushed_at":"2018-06-16T07:13:36.000Z","size":401,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-07T19:50:42.858Z","etag":null,"topics":[],"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/uptick.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":"2016-09-15T00:15:11.000Z","updated_at":"2018-06-16T07:13:37.000Z","dependencies_parsed_at":"2023-01-25T11:15:23.929Z","dependency_job_id":null,"html_url":"https://github.com/uptick/react-day-input","commit_stats":null,"previous_names":["abasystems/react-day-input"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uptick%2Freact-day-input","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uptick%2Freact-day-input/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uptick%2Freact-day-input/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uptick%2Freact-day-input/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uptick","download_url":"https://codeload.github.com/uptick/react-day-input/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243646524,"owners_count":20324582,"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-11-20T18:51:09.960Z","updated_at":"2025-03-14T20:42:21.981Z","avatar_url":"https://github.com/uptick.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-day-input\n\n[![npm version](https://badge.fury.io/js/react-day-input.svg)](http://badge.fury.io/js/react-day-input)\n![Downloads](http://img.shields.io/npm/dm/react-day-input.svg?style=flat)\n\nA simple date picker for React, powered by Moment.\n\n## Live Demo\n\nCheck out the live demo here: http://abasystems.github.io/react-day-input/\n\n## Installation\n\nInstall the package with npm:\n\n```\nnpm install react-day-input\n```\n\nThen require and use with ES6 imports:\n\n```javascript\nimport React from 'react'\n\nimport { StrictDayInput } from 'react-day-input'\n\nclass MyForm extends React.Component {\n  constructor(props) {\n    super(props);\n\n    this.state = {\n      ...this.state,\n\n      dueBy: null,\n    };\n  }\n\n  render() {\n    return (\n      \u003cform\u003e\n        \u003cStrictDayInput\n          value={this.state.dueBy}\n          onChange={(newDate) =\u003e {\n            this.setState({dueBy: newDate});\n          }}\n        /\u003e\n        \u003cbutton type=\"submit\"\u003eSubmit\u003c/button\u003e\n      \u003c/form\u003e\n    );\n  }\n}\n```\n\nAnd include the built css with an import:\n\n```scss\n@import 'node_modules/react-day-input/dist/react-day-input.css';\n\n```\n\nor tag:\n\n```html\n\u003clink href=\"static/node_modules/react-day-input/dist/react-day-input.css\" rel=\"stylesheet\"\u003e\n```\n\nFull reference documentation coming soon. For now, take a look at the reference on the live demo at\nhttp://abasystems.github.io/react-day-input/.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuptick%2Freact-day-input","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuptick%2Freact-day-input","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuptick%2Freact-day-input/lists"}