Skip to content

Commit

Permalink
docs: add pre selected tab example (#1180)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lisa18289 authored Feb 17, 2025
1 parent 761c4a0 commit 5580fa2
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import Tabs, {
Tab,
TabTitle,
} from "@mittwald/flow-react-components/Tabs";

<Tabs defaultSelectedKey="storage">
<Tab>
<TabTitle>Allgemein</TabTitle>
Allgemeiner Inhalt
</Tab>
<Tab id="storage">
<TabTitle>Speicherplatz</TabTitle>
Speicherplatz Inhalt
</Tab>
<Tab>
<TabTitle>Spamschutz</TabTitle>
Spamschutz Inhalt
</Tab>
</Tabs>;
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,20 @@

<LiveCodeEditor example="content" />

---

# Kollabierte Ansicht

<LiveCodeEditor example="collapsed" editorCollapsed />

---

# Mit Status

<LiveCodeEditor example="status" editorCollapsed />

---

# Mit vorausgewähltem Tab

<LiveCodeEditor example="default-selected" editorCollapsed />

0 comments on commit 5580fa2

Please sign in to comment.