mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-25 17:30:37 +01:00
feat(Pagination): new component (#257)
Co-authored-by: Benjamin Canac <canacb1@gmail.com> Co-authored-by: Haytham A. Salama <haythamasalama@gmail.com>
This commit is contained in:
committed by
GitHub
parent
f7a34c8fee
commit
f0b24ba25d
@@ -634,6 +634,29 @@ const commandPalette = {
|
||||
}
|
||||
}
|
||||
|
||||
const pagination = {
|
||||
wrapper: 'flex items-center -space-x-px',
|
||||
base: '',
|
||||
rounded: 'first:rounded-l-md last:rounded-r-md',
|
||||
default: {
|
||||
size: 'sm',
|
||||
activeButton: {
|
||||
color: 'primary'
|
||||
},
|
||||
inactiveButton: {
|
||||
color: 'white'
|
||||
},
|
||||
prevButton: {
|
||||
color: 'white',
|
||||
icon: 'i-heroicons-chevron-left-20-solid'
|
||||
},
|
||||
nextButton: {
|
||||
color: 'white',
|
||||
icon: 'i-heroicons-chevron-right-20-solid'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Overlays
|
||||
|
||||
const modal = {
|
||||
@@ -841,6 +864,7 @@ export default {
|
||||
skeleton,
|
||||
verticalNavigation,
|
||||
commandPalette,
|
||||
pagination,
|
||||
modal,
|
||||
slideover,
|
||||
popover,
|
||||
|
||||
Reference in New Issue
Block a user