Flowbite::Pagination::Link
Renders a single page number link in a pagination component.
This is automatically used by Flowbite::Pagination, but can be used standalone if needed.
Standalone usage
<%= render Flowbite::Pagination::Link.new(page: 2, url: "/posts?page=2") %>
API reference
Flowbite::Pagination
Constructor
def initialize(page:, url:, current: false)
See also
Ruby API documentation forclass Flowbite::Pagination::Link