Sha256: 91004e452e7edee2a7e73ee06ded737dcdcc776e1ca349dcb150638e0c40c185
Contents?: true
Size: 413 Bytes
Versions: 7
Compression:
Stored size: 413 Bytes
Contents
# frozen_string_literal: true class SolidusAdmin::UI::Table::Pagination::Component < SolidusAdmin::BaseComponent # @param prev_link [String] The link to the previous page. # @param next_link [String] The link to the next page. def initialize(prev_link: nil, next_link: nil) @prev_link = prev_link @next_link = next_link end def render? @prev_link.present? || @next_link.present? end end
Version data entries
7 entries across 7 versions & 1 rubygems