mirror of
https://github.com/we-promise/sure.git
synced 2026-05-07 12:54:04 +00:00
Fix /design-system for tabs
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<div class="max-w-[400px]">
|
||||
<%= render TabsComponent.new(active_tab: "tab1") do |tabs| %>
|
||||
<%= render DS::Tabs.new(active_tab: "tab1") do |tabs| %>
|
||||
<%= tabs.with_nav do |tab_nav| %>
|
||||
<%= tab_nav.with_btn(id: "tab1", label: "Tab 1") %>
|
||||
<%= tab_nav.with_btn(id: "tab2", label: "Tab 2") %>
|
||||
@@ -13,4 +13,4 @@
|
||||
<%= content_tag(:p, "Content for tab 2") %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user