@wix/design-system
Version:
@wix/design-system
37 lines (33 loc) • 1.12 kB
Markdown
### dataHook
- type: string
- description: Applies a data-hook HTML attribute that can be used in the tests
### className
- type: string
- description: Specifies a CSS class name to be appended to the component’s root element.
### totalPages
- type: number
- description: Sets a number of available pages to show in the component
### currentPage
- type: number
- description: Specifies a currently selected page
### onChange
- type: (event: { event: SyntheticEvent<Element, Event>; page: number; }) => void
- description: Defines a callback function which returns a selected page or an arrow ({`event`,`page`})
### pageUrl
- type: (pageNumber: number) => string
- description: Get pageNumber and returns url
### nextLabel
- type: string
- description: Sets next page label
### previousLabel
- type: string
- description: Sets previous page label
### focusableOnFocus
- type: React.FocusEventHandler<E>
- description: No description
### focusableOnBlur
- type: React.FocusEventHandler<E>
- description: No description
### ref
- type: React.RefObject<E>
- description: No description