Skip to content

Commit bc9bae4

Browse files
committed
remove variant note
1 parent abb4b92 commit bc9bae4

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/content/docs/style-guide/components/inline-badge.mdx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,7 @@ Guidelines:
1414

1515
## Component
1616

17-
:::caution
18-
19-
Whilst the component from Starlight supports `variant` and `size` props, these are ignored in our styling.
20-
21-
:::
22-
23-
To adopt this styling in a React component, please use a `span` with the `sl-badge` class. In order to style the badge as gray, please apply the `gray` class.
17+
To adopt this styling in a React component, apply the `sl-badge` class to a `span` element.
2418

2519
```mdx live
2620
import { InlineBadge } from '~/components';

0 commit comments

Comments
 (0)