Skip to content

Commit 9069c08

Browse files
author
Irfan Maulana
committed
📖 add docs for presets
1 parent fc94ffc commit 9069c08

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

README.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,11 @@ You can pass these below props to `<rangedate-picker :props="props"></rangedate-
164164

165165
+ **presetRanges**
166166

167-
*Description* : -
167+
*Description* : Set of objects that will shown as quick selection of daterange
168168

169169
*Type* : Object
170-
Example :
170+
171+
Example Object :
171172
```javascript
172173
{
173174
today: function () {
@@ -194,14 +195,10 @@ You can pass these below props to `<rangedate-picker :props="props"></rangedate-
194195
// label: 'string', active: 'boolean', dateRange: {start: date, end: end}
195196
}
196197
},
197-
thisMonth: function () {
198-
},
199-
lastMonth: function () {
200-
},
201-
last7days: function () {
202-
},
203-
last30days: function () {
204-
}
198+
thisMonth: function () {},
199+
lastMonth: function () {},
200+
last7days: function () {},
201+
last30days: function () {}
205202
}
206203
```
207204

0 commit comments

Comments
 (0)