Skip to content

Commit 8eb1a53

Browse files
committed
Add onChange handler to documentation
1 parent 46270fc commit 8eb1a53

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,5 @@ class App extends React.Component {
4141
`availability` | `Array<Date>` | List of dates that should be filled in on the grid (reflect the start time of each cell) | yes | N/A
4242
`numDays` | `number` | The number of days from today to show | no | `7`
4343
`minTime` | `number` | The minimum hour to show (0-23) | no | `9`
44-
`maxTime` | `number` | The maximum hour to show (0-23) | no | `23`
44+
`maxTime` | `number` | The maximum hour to show (0-23) | no | `23`
45+
`onChange` | `(Array<Date>) => void` | A callback that's executed when the selected availability is changed | yes | N/A

0 commit comments

Comments
 (0)