AdeleD / react-paginate

A ReactJS component that creates a pagination
MIT License
2.76k stars 628 forks source link

Props applying to same elements. #509

Open vimalsonara opened 11 months ago

vimalsonara commented 11 months ago

previousClassName, nextClassName, previousLinkClassName, nextLinkClassName these props are applying to same elements (Previous button & Next button).

stoyanov-kaloyan commented 9 months ago

They are handled in a different way internally.

  • previousClassName ad nextClassName target the \
  • tags and previousLinkClassName
  • nextLinkClassName target the \ tags inside the \
  • tags.
  • You can refer to the props table here

    Screenshot 2024-02-07 at 13 10 21