module Admin::Components::HeaderHelper
  def render_header(title:, back_path: nil, &blk)
    render "admin/components/partials/header", title: title, back_path: back_path do
      blk&.call
    end
  end
end
