{"id":13436801,"url":"https://github.com/yuanyan/react-timesheet","last_synced_at":"2025-04-09T16:07:32.840Z","repository":{"id":28085352,"uuid":"31583009","full_name":"yuanyan/react-timesheet","owner":"yuanyan","description":"Time Sheet Component for React","archived":false,"fork":false,"pushed_at":"2015-03-03T11:58:09.000Z","size":452,"stargazers_count":259,"open_issues_count":4,"forks_count":32,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-09T16:07:20.321Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://yuanyan.github.io/react-timesheet","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/yuanyan.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":"2015-03-03T06:26:21.000Z","updated_at":"2024-03-26T19:03:06.000Z","dependencies_parsed_at":"2022-07-16T17:46:49.927Z","dependency_job_id":null,"html_url":"https://github.com/yuanyan/react-timesheet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuanyan%2Freact-timesheet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuanyan%2Freact-timesheet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuanyan%2Freact-timesheet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuanyan%2Freact-timesheet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuanyan","download_url":"https://codeload.github.com/yuanyan/react-timesheet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065287,"owners_count":21041871,"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-31T03:00:52.198Z","updated_at":"2025-04-09T16:07:32.818Z","avatar_url":"https://github.com/yuanyan.png","language":"JavaScript","funding_links":[],"categories":["Uncategorized","UI Components","JavaScript","Demos"],"sub_categories":["Uncategorized","Miscellaneous"],"readme":"React Time Sheet\n=================\n\nTime Sheet Component for React. Modified from [timesheet.js](https://github.com/sbstjn/timesheet.js)\n\n## Demo \u0026 Examples\n\nLive demo: [yuanyan.github.io/react-timesheet](http://yuanyan.github.io/react-timesheet/)\n\nTo build the examples locally, run:\n\n```\nnpm install\ngulp dev\n```\n\nThen open [`localhost:9999`](http://localhost:9999) in a browser.\n\n## Installation\n\nThe easiest way to use `react-timesheet` is to install it from NPM and include it in your own React build process (using [Browserify](http://browserify.org), etc).\n\nYou can also use the standalone build by including `dist/react-timesheet.js` in your page. If you use this, make sure you have already included React, and it is available as a global variable.\n\n```\nnpm install react-timesheet --save\n```\n\n## Usage\n\n```\nvar React = require('react');\nvar TimeSheet = require('react-timesheet');\nvar Example1 = React.createClass({\n    data: [\n        ['2002', '09/2002', 'A freaking awesome time', 'lorem'],\n        ['06/2002', '09/2003', 'Some great memories', 'ipsum'],\n        ['2003', 'Had very bad luck'],\n        ['10/2003', '2006', 'At least had fun', 'dolor'],\n        ['02/2005', '05/2006', 'Enjoyed those times as well', 'ipsum'],\n        ['07/2005', '09/2005', 'Bad luck again', 'default'],\n        ['10/2005', '2008', 'For a long time nothing happened', 'dolor'],\n        ['01/2008', '05/2009', 'LOST Season #4', 'lorem'],\n        ['01/2009', '05/2009', 'LOST Season #4', 'lorem'],\n        ['02/2010', '05/2010', 'LOST Season #5', 'lorem'],\n        ['09/2008', '06/2010', 'FRINGE #1 \u0026 #2', 'ipsum']\n    ],\n    render: function() {\n        return (\n            \u003cTimeSheet data={this.data}/\u003e\n        );\n    }\n});\n```\n\n## Properties\n\n* `data`: Your configure data.\n* `min`: Min year value.\n* `max`: Max year data.\n* `theme`: Custom theme name.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuanyan%2Freact-timesheet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuanyan%2Freact-timesheet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuanyan%2Freact-timesheet/lists"}