Skip to content

Commit

Permalink
Merge pull request #43 from selemondev/demo
Browse files Browse the repository at this point in the history
chore: add demo
  • Loading branch information
selemondev authored Jul 8, 2023
2 parents 17aa107 + 44092ef commit e81c039
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const clickTab = (name: string) => {
<div>
<main class="mt-6 space-y-10">
<section>
<TabGroupOutline>
<TabGroupOutline TabOutlineCenter>
<TabsWrapperOutline TabOutlineStart>
<TabOutline title="Vue" :isActive="activeTab === 'vue'" @onClick="clickTab('vue')">
<template #icon>
Expand Down Expand Up @@ -135,7 +135,7 @@ const clickTab = (name: string) => {

<section>
<TabFloatGroup>
<TabsFloatWrapper>
<TabsFloatWrapper TabFloatCenter>
<TabFloat floatTitle="Vue" :floatIsActive="activeTab === 'vue'" @onClick="clickTab('vue')">
<template #icon>
<Icon icon="logos:vue" :class="{ 'text-green-500': activeTab === 'vue' }"
Expand Down Expand Up @@ -290,7 +290,7 @@ const clickTab = (name: string) => {
<ClientOnly>
<section>
<TabGroupOutline>
<TabsWrapperOutline>
<TabsWrapperOutline TabOutlineCenter>
<TabOutline activeTitleColor="text-green-500" barColor="border-green-500" title="Vue"
:isActive="activeTab === 'vue'" @onClick="clickTab('vue')">
<template #icon>
Expand Down Expand Up @@ -377,7 +377,7 @@ const clickTab = (name: string) => {

<section>
<TabFloatGroup>
<TabsFloatWrapper>
<TabsFloatWrapper TabFloatCenter>
<TabFloat floatActiveTitleColor="text-green-500" floatTitle="Vue" :floatIsActive="activeTab === 'vue'"
@onClick="clickTab('vue')">
<template #icon>
Expand Down
4 changes: 2 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const clickTab = (name: string) => {
<main class="mt-6 space-y-10">
<section>
<TabGroupOutline>
<TabsWrapperOutline TabOutlineStart>
<TabsWrapperOutline TabOutlineCenter>
<TabOutline title="Vue" :isActive="activeTab === 'vue'" @onClick="clickTab('vue')">
<template #icon>
<Icon icon="logos:vue" :class="{ 'text-green-500': activeTab === 'vue' }"
Expand Down Expand Up @@ -88,7 +88,7 @@ const clickTab = (name: string) => {

<section>
<TabFloatGroup>
<TabsFloatWrapper>
<TabsFloatWrapper TabFloatCenter>
<TabFloat floatTitle="Vue" :floatIsActive="activeTab === 'vue'" @onClick="clickTab('vue')">
<template #icon>
<Icon icon="logos:vue" :class="{ 'text-green-500': activeTab === 'vue' }"
Expand Down

0 comments on commit e81c039

Please sign in to comment.