Skip to content

wesoftyou/react-native-week-view

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-week-view

weekView

Props

  • events (Array) - Events to display
  • onEventPress (Function) - Callback when event item is clicked
  • dateHeaderFormat (String) - Format for dates of header, default is MMM D

Event Object

{
  id: 1,
  description: 'Event',
  startDate: new Date(),
  endDate: new Date(),
  color: 'blue',
}

TODO

  • allow to swipe between weeks or days.
  • allow to set custom date format for header.
  • update example for more cases (3 days, one day).
  • update document.
  • clean up code.

About

Week View Component for react-native

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 71.9%
  • Objective-C 15.3%
  • Starlark 7.6%
  • Java 5.2%