Skip to content

Commit

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

Tab sliders can have different shapes. Below is an example of the straight shape.

<div className="flex items-end gap-2 border border-muted-200 dark:border-muted-800 bg-white 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={TabSliderStories.ShapeStraight} />
</div>

Expand All @@ -32,7 +32,7 @@ Tab sliders can have different shapes. Below is an example of the straight shape

Tab sliders can have different shapes. Below is an example of the rounded shape.

<div className="flex items-end gap-2 border border-muted-200 dark:border-muted-800 bg-white 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={TabSliderStories.ShapeRounded} />
</div>

Expand All @@ -42,7 +42,7 @@ Tab sliders can have different shapes. Below is an example of the rounded shape.

Tab sliders can have different shapes. Below is an example of the smooth shape.

<div className="flex items-end gap-2 border border-muted-200 dark:border-muted-800 bg-white 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={TabSliderStories.ShapeSmooth} />
</div>

Expand All @@ -52,7 +52,7 @@ Tab sliders can have different shapes. Below is an example of the smooth shape.

Tab sliders can have different shapes. Below is an example of the curved shape.

<div className="flex items-end gap-2 border border-muted-200 dark:border-muted-800 bg-white 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={TabSliderStories.ShapeCurved} />
</div>

Expand All @@ -62,7 +62,7 @@ Tab sliders can have different shapes. Below is an example of the curved shape.

Tab sliders can have different shapes. Below is an example of the full shape.

<div className="flex items-end gap-2 border border-muted-200 dark:border-muted-800 bg-white 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={TabSliderStories.ShapeFull} />
</div>

Expand All @@ -72,7 +72,7 @@ Tab sliders can have different shapes. Below is an example of the full shape.

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

<div className="flex items-end gap-2 border border-muted-200 dark:border-muted-800 bg-white 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={TabSliderStories.Start} />
</div>

Expand All @@ -82,7 +82,7 @@ Tab sliders can have different alignment. Below is an example of the start align

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

<div className="flex items-end gap-2 border border-muted-200 dark:border-muted-800 bg-white 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={TabSliderStories.Center} />
</div>

Expand All @@ -92,7 +92,7 @@ Tab sliders can have different alignment. Below is an example of the center alig

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

<div className="flex items-end gap-2 border border-muted-200 dark:border-muted-800 bg-white 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={TabSliderStories.End} />
</div>

Expand All @@ -103,10 +103,10 @@ Tab sliders can have different alignment. Below is an example of the end alignme
Tab sliders can have different sizes. Below is an example of the small size.

<div className="space-y-4">
<div className="flex items-end gap-2 border border-muted-200 dark:border-muted-800 bg-white 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={TabSliderStories.SizeSm} />
</div>
<div className="flex items-end gap-2 border border-muted-200 dark:border-muted-800 bg-white 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={TabSliderStories.SizeSmFull} />
</div>
</div>
Expand Down

0 comments on commit a764d68

Please sign in to comment.