UNPKG

@wix/design-system

Version:

@wix/design-system

41 lines (38 loc) 1.18 kB
### 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. - internal ### totalPages - type: number - description: Sets a number of available pages to show in the component ### currentPage - type: number - description: Specifies a currently selected page - default: 1 ### 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 ### disabled - type: boolean - description: No description ### onFocus - type: (event: FocusEvent, triggers: Triggers) => void - description: No description ### onBlur - type: (event: FocusEvent, triggers: Triggers) => void - description: No description ### ref - type: RefObject - description: No description