Skip to content

Commit

Permalink
Update README.md (#1167)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavydeVries authored Apr 26, 2024
1 parent 01c786b commit 9a17872
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The quickest way to use these icons is to simply copy the source for the icon yo

```html
<svg
class="h-6 w-6 text-gray-500"
class="size-6 text-gray-500"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
Expand Down Expand Up @@ -59,7 +59,7 @@ import { BeakerIcon } from '@heroicons/react/24/solid'
function MyComponent() {
return (
<div>
<BeakerIcon className="h-6 w-6 text-blue-500" />
<BeakerIcon className="size-6 text-blue-500" />
<p>...</p>
</div>
)
Expand All @@ -85,7 +85,7 @@ Now each icon can be imported individually as a Vue component:
```vue
<template>
<div>
<BeakerIcon class="h-6 w-6 text-blue-500" />
<BeakerIcon class="size-6 text-blue-500" />
<p>...</p>
</div>
</template>
Expand Down

0 comments on commit 9a17872

Please sign in to comment.