Skip to content

Commit

Permalink
docs: split icon attribute in a new sentence
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
  • Loading branch information
HiDeoo and delucis authored Mar 1, 2024
1 parent 4b06eb0 commit 07c6ab5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/src/content/docs/guides/components.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ These components are available from the `@astrojs/starlight/components` package.
import { Tabs, TabItem } from '@astrojs/starlight/components';

You can display a tabbed interface using the `<Tabs>` and `<TabItem>` components.
Each `<TabItem>` must have a `label` to display to users and can optionally include an `icon` attribute set to the name of [one of Starlight’s built-in icons](#all-icons).
Each `<TabItem>` must have a `label` to display to users.
Use the optional `icon` attribute to include one of [Starlight’s built-in icons](#all-icons) next to the label.

```mdx
# src/content/docs/example.mdx
Expand Down

0 comments on commit 07c6ab5

Please sign in to comment.