[WIP] An opinionated timesheet component for React
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
examples
lib
.babelrc
.gitignore
package.json
readme.md
webpack.config.js

readme.md

React Timesheet

[WIP] Timesheets for you, and you, and for everybody!

Note

No plans to make this flexible. Rather, you can fork or get ideas from this project!

Features

Currently ad-hoc for a private school application I'm working on.

  • New schedule
  • Edit schedule
  • Drag-n-drop schedule
  • Schedule validation
  • Typehead
  • Schedule status (on-going, done)
  • Scale

Installing

npm i --save @srph/react-timesheet

Usage

<Timesheet time={{
  start: '10:00 AM',
  end: '10:00 PM',
  increment: { hours: 1, minutes: 30 }
}} schedules={{
  'Monday': [{
  	start: '10:00 AM',
  	end: '11:30 AM',
  	data: {}
  }]
}} />

See example.