Skip to content

feat(Pagination): allow customizable next and prev labels

Pandu Supriyono requested to merge feature/pass-labels-into-pager into master

What does this MR do?

This MR exposes two props provided by RKS Kitchen Sink, namely previousLabel and nextLabel, so that we can more flexibly adjust the styling in project implementations.

It is an optional prop, so if none is provided, we fallback to the default previousLabel and nextLabel inside the RKS pager. As such, this change should not be breaking.

Edited by Pandu Supriyono

Merge request reports

Loading