def render_list(list, opts = {})
      opts.reverse_merge!(
        renderer: Integral::ListRenderer
      )

      opts[:renderer].render(list, opts).html_safe
    end
def render_list(list, opts = {})
      opts.reverse_merge!(
        renderer: Integral::ListRenderer
      )

      opts[:renderer].render(list, opts).html_safe
    end
@param [Integral::List] list the list to render
 @param [Hash] opts the options to render list
 @option opts [String] :html_classes the html classes for the list
 @option opts [String] :data_attributes the html data attributes for the list
 @option opts [Hash] :item_renderer_opts the hash of options for list items

 @return [String] HTML generated by rendering list