Skip to content

Commit cafc7d6

Browse files
authored
use size-* instead of w-* h-* (#1182)
1 parent 9a17872 commit cafc7d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

react/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import { BeakerIcon } from '@heroicons/react/24/solid'
3535
function MyComponent() {
3636
return (
3737
<div>
38-
<BeakerIcon className="h-6 w-6 text-blue-500" />
38+
<BeakerIcon className="size-6 text-blue-500" />
3939
<p>...</p>
4040
</div>
4141
)

vue/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Now each icon can be imported individually as a Vue component:
3232
```vue
3333
<template>
3434
<div>
35-
<BeakerIcon class="h-6 w-6 text-blue-500" />
35+
<BeakerIcon class="size-6 text-blue-500" />
3636
<p>...</p>
3737
</div>
3838
</template>

0 commit comments

Comments
 (0)