Skip to content

Commit 2a870b0

Browse files
aravindsrivatsjquense
authored andcommitted
feat: adding bounds and box on slot select in Month view (jquense#1241)
Pass the 'bounds' and 'box' props on slot select in Month view to the handler
1 parent 2bc9fee commit 2a870b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Month.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,8 @@ class MonthView extends React.Component {
273273
start: slots[0],
274274
end: slots[slots.length - 1],
275275
action: slotInfo.action,
276+
bounds: slotInfo.bounds,
277+
box: slotInfo.box
276278
})
277279
}
278280

0 commit comments

Comments
 (0)