Skip to content

Commit

Permalink
remove Tabs codeblocks from style guide causing docs build failures
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksa-krolls committed Nov 28, 2023
1 parent bec8907 commit f9fbb4c
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions docs/docs-roadmap/style-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,27 +253,3 @@ This is a caution
This is a warning

:::

## Tabs

```txt
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
```

Note how we import tabs first, then use them as below:

```txt
<Tabs
defaultValue="apple"
values={[
{ label: 'Apple', value: 'apple' },
{ label: 'Orange', value: 'orange' },
{ label: 'Banana', value: 'banana' },
]}
>
<TabItem value="apple">This is an apple 🍎</TabItem>
<TabItem value="orange">This is an orange 🍊</TabItem>
<TabItem value="banana">This is a banana 🍌</TabItem>
</Tabs>
```

0 comments on commit f9fbb4c

Please sign in to comment.