Skip to content

Commit

Permalink
chore: rename CodeSwitcherTab to ContentSwitcher
Browse files Browse the repository at this point in the history
  • Loading branch information
itsacoyote committed Apr 1, 2024
1 parent 678de53 commit 40708ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script setup lang="ts">
defineProps<{
items: CodeSwitcherTabItem[];
items: ContentSwitcherItem[];
}>();
const selectedIndex = ref(0);
Expand Down
2 changes: 1 addition & 1 deletion content/10.getting-started/1.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This template is a ready-to-use documentation template made with [Nuxt UI Pro](h
premium components built on top of [Nuxt UI](https://ui.nuxt.com) to create beautiful & responsive Nuxt applications in
minutes.

::code-switcher-tab
::content-switcher
---
items: [{
label: 'HardHat',
Expand Down
2 changes: 1 addition & 1 deletion types/CodeSwitcherTab.d.ts → types/CodeSwitcher.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
declare interface CodeSwitcherTabItem {
declare interface ContentSwitcherItem {
/**
* The label to display on the tab
*/
Expand Down

0 comments on commit 40708ac

Please sign in to comment.