You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(datepicker): Adding new prop `filterDate`
* docs(readme): adding the filterDate prop in the readme documentation
* chore(contributors): adding myself to the contributors table
* chore(calendar): removing console.log
* fix(calendars): Condição para filtrar apenas os valores selecionáveis.
* test(stories): Test to check if the dateFilter property interferes with the value of the selectables
@@ -78,6 +78,7 @@ More examples [here](https://react-semantic-ui-datepickers.now.sh).
78
78
| locale | object | no |[en-US](https://github.com/arthurdenner/react-semantic-ui-datepickers/blob/master/src/locales/en-US.js)| Object with the labels to be used on the library PS: Feel free to submit PR's with more locales! |
79
79
| onDateChange | function | yes || Callback fired when the value changes |
80
80
| type | string | no | basic | Type of input to render. Available options: 'basic' and 'range' |
81
+
| filterDate | function | no | () => true | Function that receives each date and returns a boolean to indicate whether it is enabled or not |
81
82
|selected | Date, arrayOf(Date) | no || Default date selected |
82
83
| pointing | string | no | 'left' | Location to render the component around input. Available options: 'left', 'right', 'top left', 'top right' |
83
84
@@ -133,8 +134,8 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds
133
134
134
135
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
0 commit comments