Skip to content

Commit

Permalink
Adding comment to script in tab doc
Browse files Browse the repository at this point in the history
  • Loading branch information
carloslimasd committed Jul 19, 2024
1 parent 014a771 commit 3b578ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions playbook/app/pb_kits/playbook/pb_nav/docs/_tab_nav.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
</div>

<script>
// The script in the code snippet below is for demonstrating the active state and NOT needed for the kit to function.
// The active prop can be used to highlight this active state.
const navItemClass = "pb_nav_list_kit_item"
const navItemActiveClass = "pb_nav_list_kit_item_active"
const dataNavItems = "[data-pb-tab-target]"
Expand Down

0 comments on commit 3b578ae

Please sign in to comment.