Skip to content

Commit b30f154

Browse files
docs: update readme bumped version to 2.0.2
1 parent dc06318 commit b30f154

File tree

2 files changed

+22
-13
lines changed

2 files changed

+22
-13
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,16 @@ For more, take a look at the `/example` directory.
5959

6060
## Calendar props
6161

62-
| Name | Type | Default | Description |
63-
| --------------- | ---------- | ---------- | ------------------------------------------------------------------------ |
64-
| mode | `string` | `'single'` | Defines the DatePicker mode `['single', 'range', 'multiple']` |
65-
| locale | `string` | `'en'` | Defines the DatePicker locale |
66-
| minDate | `DateType` | `null` | Defines DatePicker minimum selectable date |
67-
| maxDate | `DateType` | `null` | Defines DatePicker maximum selectable date |
68-
| firstDayOfWeek | `number` | `0` | Defines the starting day of week, number 0-6, 0 - Sunday, 6 - Saturday |
69-
| displayFullDays | `boolean` | `false` | Defines show previous and next month's days in the current calendar view |
70-
| initialView | `string` | `'day'` | Defines the DatePicker initial view `['day', 'month', 'year', 'time']` |
62+
| Name | Type | Default | Description |
63+
| --------------- | ---------- | ------------- | ------------------------------------------------------------------------ |
64+
| mode | `string` | `'single'` | Defines the DatePicker mode `['single', 'range', 'multiple']` |
65+
| locale | `string` | `'en'` | Defines the DatePicker locale |
66+
| minDate | `DateType` | `null` | Defines DatePicker minimum selectable date |
67+
| maxDate | `DateType` | `null` | Defines DatePicker maximum selectable date |
68+
| firstDayOfWeek | `number` | `0` | Defines the starting day of week, number 0-6, 0 - Sunday, 6 - Saturday |
69+
| displayFullDays | `boolean` | `false` | Defines show previous and next month's days in the current calendar view |
70+
| initialView | `string` | `'day'` | Defines the DatePicker initial view `['day', 'month', 'year', 'time']` |
71+
| height | `number` | `'undefined'` | Defines the Calendar view heights |
7172

7273
<p align="center">
7374
<img src="/.github/images/modes-screenshot.png" />

package.json

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-ui-datepicker",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"description": "Customizable date picker for React Native",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",
@@ -106,7 +106,9 @@
106106
"node": ">= 16.0.0"
107107
},
108108
"commitlint": {
109-
"extends": ["@commitlint/config-conventional"]
109+
"extends": [
110+
"@commitlint/config-conventional"
111+
]
110112
},
111113
"release-it": {
112114
"git": {
@@ -127,7 +129,10 @@
127129
},
128130
"eslintConfig": {
129131
"root": true,
130-
"extends": ["@react-native-community", "prettier"],
132+
"extends": [
133+
"@react-native-community",
134+
"prettier"
135+
],
131136
"rules": {
132137
"prettier/prettier": [
133138
"error",
@@ -141,7 +146,10 @@
141146
]
142147
}
143148
},
144-
"eslintIgnore": ["node_modules/", "lib/"],
149+
"eslintIgnore": [
150+
"node_modules/",
151+
"lib/"
152+
],
145153
"prettier": {
146154
"quoteProps": "consistent",
147155
"singleQuote": true,

0 commit comments

Comments
 (0)