Skip to content

Commit

Permalink
feat: improve tabs demos
Browse files Browse the repository at this point in the history
  • Loading branch information
driss-chelouati committed Dec 10, 2023
1 parent 419112c commit 83ff154
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/plugins/components/tabs/tabs.doc.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Tabs allow you to seaparate your content in different togglable areas.

Tabs can have different alignment. Below is an example of the start alignment.

<div className="flex gap-2 bg-slate-100 dark:bg-slate-900 p-6 rounded-sm">
<div className="border border-muted-200 dark:border-muted-800 bg-white dark:bg-slate-900 p-6 rounded-sm">
<Story of={TabsStories.Start} />
</div>

Expand All @@ -32,7 +32,7 @@ Tabs can have different alignment. Below is an example of the start alignment.

Tabs can have different alignment. Below is an example of the center alignment.

<div className="flex gap-2 bg-slate-100 dark:bg-slate-900 p-6 rounded-sm">
<div className="border border-muted-200 dark:border-muted-800 bg-white dark:bg-slate-900 p-6 rounded-sm">
<Story of={TabsStories.Center} />
</div>

Expand All @@ -42,7 +42,7 @@ Tabs can have different alignment. Below is an example of the center alignment.

Tabs can have different alignment. Below is an example of the end alignment.

<div className="flex gap-2 bg-slate-100 dark:bg-slate-900 p-6 rounded-sm">
<div className="border border-muted-200 dark:border-muted-800 bg-white dark:bg-slate-900 p-6 rounded-sm">
<Story of={TabsStories.End} />
</div>

Expand All @@ -52,7 +52,7 @@ Tabs can have different alignment. Below is an example of the end alignment.

Tabs can have and additional "boxed" or "pill" variant.

<div className="flex gap-2 bg-slate-100 dark:bg-slate-900 p-6 rounded-sm">
<div className="border border-muted-200 dark:border-muted-800 bg-white dark:bg-slate-900 p-6 rounded-sm">
<Story of={TabsStories.Boxed} />
</div>

Expand Down

0 comments on commit 83ff154

Please sign in to comment.