Sha256: 058c532b49585eb8f7da0df487795db5db2fdcee870b27feec03ca2941852bb3

Contents?: true

Size: 408 Bytes

Versions: 2

Compression:

Stored size: 408 Bytes

Contents

<%
  tablist.configure do |config|
    config.defaults(manage_url?: false, size: :regular)
    config.classes(base: "tablist")

    config.conditional_classes(from: :size, large: { base: "tablist--large" })
    config.conditional_classes(if: :manage_url?, base: "tablist--manages-url")
  end
%>

<div class="<%= tablist.classes_for(:base) %>" role="tablist">
  <%= capture(tablist, &tablist.block) %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
docks_theme_api-1.0.3 source/components/tablist/tablist.erb
docks_theme_api-1.0.2 source/components/tablist/tablist.erb