Navigation
Pagination
client32.75 kB
@stellaria/nebula-webPaginationPropsPreview
Props
14| Prop | Type | Default |
|---|---|---|
boundaries | number | 1 |
className | string | — |
color | ColorExtended | "primary" |
defaultPage | number | 1 |
disabled | boolean | false |
labels | PaginationLabels | — |
onChange | ((page: number) => void) | — |
page | number | — |
siblings | number | 1 |
size | PaginationSize | "md" |
total required | number | — |
variant | PaginationVariant | "filled" |
withControls | boolean | true |
withEdges | boolean | false |
Slot props
3Each one spreads over an inner element, so you can restyle a region without forking the component.
| Prop | Type | Default |
|---|---|---|
controlProps Every button: arrows and numbers. It spreads over ALL of them, the active one included. | Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> | — |
listProps The list of controls. | BoxSlotProps | — |
valueProps The content of each button. On the forward arrows it already carries a 180-degree rotation. | BoxSlotProps | — |
Also accepts
On top of its own props, this component forwards these groups.
Style props · 127