աӄա dec7d411b5
fix: pagination RTL (#2393)
* fix(components): handle RTL in onNext and onPrevious in use-pagination.ts

* fix(components): invert forward icon for RTL

* fix(hooks): invert pagination logic for RTL

* chore(root): add changeset for pagination RTL change

* fix(hooks): add isRTL to hook dependency

* fix(components): add isRTL to hook dependency

* fix(components): incorrect isDisabled logic

* refactor(hooks): remove isRTL dependency from paginationRange

* chore(deps): add @react-aria/i18n
2024-02-27 11:29:54 -03:00
..
2024-02-27 11:29:54 -03:00
2024-02-27 11:29:54 -03:00
2022-11-06 05:42:45 +08:00

@nextui-org/use-pagination

A Quick description of the component

This is an internal utility, not intended for public usage.

Installation

yarn add @nextui-org/use-pagination
# or
npm i @nextui-org/use-pagination

Contribution

Yes please! See the contributing guidelines for details.

Licence

This project is licensed under the terms of the MIT license.