Skip to content

Commit 7254bb7

Browse files
committed
Update README.md
1 parent fd6a212 commit 7254bb7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,17 @@ Vue.component('example-component', {
7070
});
7171
```
7272

73+
### Customizing Prev/Next Buttons
74+
75+
Prev/Next buttons can be customized using the `prev-nav` and `next-nav` slots:
76+
77+
```html
78+
<pagination :data="laravelData">
79+
<span slot="prev-nav">&lt; Previous</span>
80+
<span slot="next-nav">Next &gt;</span>
81+
</pagination>
82+
```
83+
7384
## API
7485

7586
### Props

0 commit comments

Comments
 (0)