Skip to content

Commit

Permalink
docs: update readme bumped version to 2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
farhoudshapouran committed Feb 26, 2024
1 parent dc06318 commit b30f154
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 13 deletions.
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,16 @@ For more, take a look at the `/example` directory.

## Calendar props

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

<p align="center">
<img src="/.github/images/modes-screenshot.png" />
Expand Down
16 changes: 12 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-ui-datepicker",
"version": "2.0.1",
"version": "2.0.2",
"description": "Customizable date picker for React Native",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down Expand Up @@ -106,7 +106,9 @@
"node": ">= 16.0.0"
},
"commitlint": {
"extends": ["@commitlint/config-conventional"]
"extends": [
"@commitlint/config-conventional"
]
},
"release-it": {
"git": {
Expand All @@ -127,7 +129,10 @@
},
"eslintConfig": {
"root": true,
"extends": ["@react-native-community", "prettier"],
"extends": [
"@react-native-community",
"prettier"
],
"rules": {
"prettier/prettier": [
"error",
Expand All @@ -141,7 +146,10 @@
]
}
},
"eslintIgnore": ["node_modules/", "lib/"],
"eslintIgnore": [
"node_modules/",
"lib/"
],
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
Expand Down

0 comments on commit b30f154

Please sign in to comment.