Skip to content

Commit 8fbbdbc

Browse files
committed
Update README.md
1 parent 90efe3e commit 8fbbdbc

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

README.md

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -80,24 +80,8 @@ Prev/Next buttons can be customized using the `prev-nav` and `next-nav` slots:
8080

8181
| Name | Type | Description |
8282
| --- | --- | --- |
83-
| `data` | Object | An object containing the structure of a [Laravel paginator](https://laravel.com/docs/5.7/pagination) response. See below for default value. |
84-
| `limit` | Number | (optional) Limit of pages to be rendered. Default `0` (unlimited pages) `-1` will hide numeric pages and leave only arrow navigation. Any positive integer (e.g. `2`) will define how many pages should be shown on either side of the current page when only a range of pages are shown (see below for example output). |
85-
86-
**Default `data`**
87-
88-
```javascript
89-
{
90-
current_page: 1,
91-
data: [],
92-
from: 1,
93-
last_page: 1,
94-
next_page_url: null,
95-
per_page: 10,
96-
prev_page_url: null,
97-
to: 1,
98-
total: 0,
99-
}
100-
```
83+
| `data` | Object | An object containing the structure of a [Laravel paginator](https://laravel.com/docs/5.7/pagination) response or a [Laravel API Resource](https://laravel.com/docs/5.7/eloquent-resources) response. |
84+
| `limit` | Number | (optional) Limit of pages to be rendered. Default `0` (shows all pages) `-1` will hide numeric pages and leave only arrow navigation. Any positive integer (e.g. `2`) will define how many pages should be shown on either side of the current page when only a range of pages are shown (see below for example output). |
10185

10286
**Example `limit`**
10387

0 commit comments

Comments
 (0)