Skip to content

Commit

Permalink
remove outdated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ieedan committed Dec 10, 2024
1 parent 8b0c6d2 commit 99de5fd
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions sites/docs/src/content/components/card.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,22 +50,6 @@ links:
</Card.Root>
```

### Modify the heading level

By default, the `<Card.Title>` component renders an `<h3>` element. You can change this by passing a `tag` prop to the component.

For example:

```svelte
<Card.Title tag="h1">This will render an H1</Card.Title>
```

...

```svelte
<Card.Title tag="h6">This will render an H6</Card.Title>
```

## Examples

<ComponentPreview name="card-demo">
Expand Down

0 comments on commit 99de5fd

Please sign in to comment.