feat(Pagination): add disabled prop

Resolves #1189
This commit is contained in:
Benjamin Canac
2024-01-03 18:18:01 +01:00
parent bc00f9c4b2
commit 0976833753
2 changed files with 25 additions and 4 deletions

View File

@@ -46,6 +46,22 @@ props:
---
::
### Disabled :u-badge{label="New" class="align-middle ml-2 !rounded-full" variant="subtle"}
Use the `disabled` prop to disable all the buttons.
::component-card
---
baseProps:
modelValue: 1
total: 100
showLast: true
showFirst: true
props:
disabled: true
---
::
### Active / Inactive
Use the `active-button` and `inactive-button` props to customize the active and inactive buttons of the Pagination.