diff --git a/README.md b/README.md index a1d32e6c1..84c62567b 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ element has a height, or the calendar won't be visible. To provide your own cust - [react-big-calendar](https://github.com/arecvlohe/rbc-starter) - [react-big-calendar with drag and drop](https://github.com/arecvlohe/rbc-with-dnd-starter) +- [react-big-calendar with TypeScript and React hooks bundled with Vite](https://github.com/christopher-caldwell/react-big-calendar-demo) ## Run examples locally diff --git a/src/Agenda.js b/src/Agenda.js index 709301c2a..d9e4a4669 100644 --- a/src/Agenda.js +++ b/src/Agenda.js @@ -10,14 +10,16 @@ import { inRange } from './utils/eventLevels' import { isSelected } from './utils/selection' function Agenda({ - selected, - getters, accessors, - localizer, components, - length, date, events, + getters, + length, + localizer, + onDoubleClickEvent, + onSelectEvent, + selected, }) { const headerRef = useRef(null) const dateColRef = useRef(null) @@ -76,7 +78,13 @@ function Agenda({ > {first}