Skip to content

Commit

Permalink
Update documentation/docs/03-template-syntax/18-class.md
Browse files Browse the repository at this point in the history
  • Loading branch information
paoloricciuti authored Jan 16, 2025
1 parent 078e513 commit b1fd40f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/docs/03-template-syntax/18-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ The user of this component has the same flexibility to use a mixture of objects,
</Button>
```

Svelte also exposes the `ClassValue` type, which is the type of the value that the `class` attribute on elements accept. This is useful if you want to use a type-safe class name in component props:
Svelte also exposes the `ClassValue` type, which is the type of value that the `class` attribute on elements accept. This is useful if you want to use a type-safe class name in component props:

```svelte
<script lang="ts">
Expand Down

0 comments on commit b1fd40f

Please sign in to comment.