Skip to content

Commit e9ab27b

Browse files
committed
update docs
1 parent 8540461 commit e9ab27b

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

content/docs/components/text.mdx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ The `Text` component is a versatile React component that provides various headin
2020

2121
<br />
2222

23-
`tag`: Specifies which heading element to render (default is `p`).
24-
25-
<br />
26-
27-
`variant`: Determines the text style. Default is `p`. Variants include:
23+
`as`: Determines the heading and text style. Default is `p`. Variants include:
2824

2925
- `"h1", "h2", "h3", "h4", "h5", "h6", "p"`
3026

@@ -43,12 +39,6 @@ npm install class-variance-authority
4339

4440
<ComponentSource name="text" />
4541

46-
<br />
47-
<br />
48-
## Examples
49-
50-
<ComponentShowcase name="text-examples" />
51-
5242
<br />
5343
<br />
5444
<br />

0 commit comments

Comments
 (0)