Skip to content

Commit 37407b3

Browse files
docs: document allowRangeReset prop and bump version to 3.2.0
1 parent 326fc33 commit 37407b3

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ export function Calendar() {
119119
| `onChange` | `({startDate, endDate}) => void` | Callback function triggered when the start and end change. |
120120
| `min` | `number` | Defines the minimum allowed nights. |
121121
| `max` | `number` | Defines the maximum allowed nights. |
122+
| `allowRangeReset` | `boolean` | When `true`, tapping any date while a complete range is selected clears the end date and starts a fresh selection from the tapped date. Defaults to `false`. |
122123

123124
## Multiple Mode props
124125

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-ui-datepicker",
3-
"version": "3.1.3",
3+
"version": "3.2.0",
44
"description": "Customizable date picker for React Native",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",

0 commit comments

Comments
 (0)