Skip to content

Commit 9a17872

Browse files
authoredApr 26, 2024··
Update README.md (#1167)
1 parent 01c786b commit 9a17872

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The quickest way to use these icons is to simply copy the source for the icon yo
2727

2828
```html
2929
<svg
30-
class="h-6 w-6 text-gray-500"
30+
class="size-6 text-gray-500"
3131
fill="none"
3232
viewBox="0 0 24 24"
3333
stroke="currentColor"
@@ -59,7 +59,7 @@ import { BeakerIcon } from '@heroicons/react/24/solid'
5959
function MyComponent() {
6060
return (
6161
<div>
62-
<BeakerIcon className="h-6 w-6 text-blue-500" />
62+
<BeakerIcon className="size-6 text-blue-500" />
6363
<p>...</p>
6464
</div>
6565
)
@@ -85,7 +85,7 @@ Now each icon can be imported individually as a Vue component:
8585
```vue
8686
<template>
8787
<div>
88-
<BeakerIcon class="h-6 w-6 text-blue-500" />
88+
<BeakerIcon class="size-6 text-blue-500" />
8989
<p>...</p>
9090
</div>
9191
</template>

0 commit comments

Comments
 (0)
Please sign in to comment.