forked from Mirrors/bubbletea
Rename PaginatorType to Type
Type name would be used as paginator.PaginatorType by other packages, and that stutters.
This commit is contained in:
parent
6db7c48ba8
commit
bb19d42cc0
|
@ -10,18 +10,18 @@ import (
|
|||
"github.com/charmbracelet/boba"
|
||||
)
|
||||
|
||||
// PaginatorType specifies the way we render pagination
|
||||
type PaginatorType int
|
||||
// Type specifies the way we render pagination
|
||||
type Type int
|
||||
|
||||
// Pagination rendering options
|
||||
const (
|
||||
Arabic PaginatorType = iota
|
||||
Arabic Type = iota
|
||||
Dots
|
||||
)
|
||||
|
||||
// Model is the Boba model for this user interface
|
||||
type Model struct {
|
||||
Type PaginatorType
|
||||
Type Type
|
||||
Page int
|
||||
PerPage int
|
||||
TotalPages int
|
||||
|
|
Loading…
Reference in New Issue