Skip to content

Commit

Permalink
Update tabs.md (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinGerez authored Oct 29, 2024
1 parent cee47a8 commit 60fb2a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/tabs.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ application.register('tabs', Tabs)
```html
<div data-controller="tabs" data-tabs-active-tab-class="-mb-px border-l border-t border-r rounded-t">
<ul class="list-reset flex border-b">
<li class="-mb-px mr-1" data-tabs-target="tab" data-action="click->tabs#change">
<li class="-mb-px mr-1" data-tabs-target="tab" data-action="click->tabs#change:prevent">
<a class="bg-white inline-block py-2 px-4 text-blue-500 hover:text-blue-700 font-semibold no-underline" href="#">Active</a>
</li>
<li class="mr-1" data-tabs-target="tab" data-action="click->tabs#change">
<li class="mr-1" data-tabs-target="tab" data-action="click->tabs#change:prevent">
<a class="bg-white inline-block py-2 px-4 text-blue-500 hover:text-blue-700 font-semibold no-underline" href="#">Tab</a>
</li>
<li class="mr-1" data-tabs-target="tab" data-action="click->tabs#change">
<li class="mr-1" data-tabs-target="tab" data-action="click->tabs#change:prevent">
<a class="bg-white inline-block py-2 px-4 text-blue-500 hover:text-blue-700 font-semibold no-underline" href="#">Tab</a>
</li>
<li class="mr-1">
Expand Down

0 comments on commit 60fb2a1

Please sign in to comment.