Skip to content

Commit 9a78da2

Browse files
committed
docs: ✏️ Update @heroicons/react to v2
1 parent 2cd8b79 commit 9a78da2

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

docs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"devDependencies": {
2929
"@docusaurus/core": "2.3.1",
3030
"@docusaurus/preset-classic": "2.3.1",
31-
"@heroicons/react": "1.0.6",
31+
"@heroicons/react": "2.0.14",
3232
"@mdx-js/react": "1.6.22",
3333
"autoprefixer": "10.4.13",
3434
"clsx": "1.2.1",

docs/src/components/Features.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { CheckCircleIcon, CubeIcon, LightningBoltIcon } from '@heroicons/react/outline'
1+
import { CheckCircleIcon, CubeIcon, BoltIcon } from '@heroicons/react/24/outline'
22
import React from 'react'
33

44
const features = [
@@ -18,7 +18,7 @@ const features = [
1818
name: "Using `sharp`, so it's fast.",
1919
description:
2020
'It is fast because it uses `sharp` for image optimization. This is also the approach used in Next.js, which is much faster than other image processing libraries.',
21-
icon: LightningBoltIcon,
21+
icon: BoltIcon,
2222
},
2323
{
2424
name: 'Cache prevents repeating the same optimization',

docs/src/components/Introduction.jsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Link from '@docusaurus/Link'
2-
import { ChevronRightIcon } from '@heroicons/react/outline'
2+
import { ChevronRightIcon } from '@heroicons/react/24/outline'
33
import React from 'react'
44

55
const Introduction = () => {
@@ -16,5 +16,4 @@ const Introduction = () => {
1616
)
1717
}
1818

19-
2019
export default Introduction

docs/yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -2551,10 +2551,10 @@
25512551
dependencies:
25522552
"@hapi/hoek" "^9.0.0"
25532553

2554-
"@heroicons/react@1.0.6":
2555-
version "1.0.6"
2556-
resolved "https://registry.yarnpkg.com/@heroicons/react/-/react-1.0.6.tgz#35dd26987228b39ef2316db3b1245c42eb19e324"
2557-
integrity sha512-JJCXydOFWMDpCP4q13iEplA503MQO3xLoZiKum+955ZCtHINWnx26CUxVxxFQu/uLb4LW3ge15ZpzIkXKkJ8oQ==
2554+
"@heroicons/react@2.0.14":
2555+
version "2.0.14"
2556+
resolved "https://registry.yarnpkg.com/@heroicons/react/-/react-2.0.14.tgz#9cc23b8978b1829239250b3d7846cff16c58e9f5"
2557+
integrity sha512-eFL4if6L7woL1fUvk/jjXx4z9NxVESHHrQnEd2qKVelTFTIr/3VLGWdPb0biia9ZVe26P0JSs/xmOlRNur3SrQ==
25582558

25592559
"@jridgewell/gen-mapping@^0.1.0":
25602560
version "0.1.1"

0 commit comments

Comments
 (0)