Skip to content

Commit 29035a4

Browse files
authored
refactor: use lucide over heroicons (graphql#1908)
1 parent 6b1bff1 commit 29035a4

File tree

3 files changed

+3
-16
lines changed

3 files changed

+3
-16
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"dependencies": {
1919
"@graphql-tools/schema": "10.0.13",
2020
"@headlessui/react": "^1.7.17",
21-
"@heroicons/react": "^2.0.18",
2221
"@radix-ui/react-icons": "^1.3.0",
2322
"@radix-ui/react-radio-group": "^1.1.3",
2423
"@tailwindcss/nesting": "0.0.0-insiders.565cd3e",

pnpm-lock.yaml

Lines changed: 0 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app/conf/_components/schedule/filters.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Menu, Popover, Transition } from "@headlessui/react"
2-
import { ChevronDownIcon, XMarkIcon } from "@heroicons/react/20/solid"
32
import { clsx } from "clsx"
3+
import { ChevronDown, X } from "lucide-react"
44

55
type FiltersProps = {
66
categories: { name: string; options: string[] }[]
@@ -22,7 +22,7 @@ export function Filters({
2222
onClick={onReset}
2323
className="flex cursor-pointer items-center gap-x-2 rounded-md bg-gray-200 px-2 py-1 text-sm font-medium text-gray-700 hover:bg-gray-300 hover:text-gray-900"
2424
>
25-
Reset filters <XMarkIcon className="inline-block size-4" />
25+
Reset filters <X className="inline-block size-4" />
2626
</button>
2727
)}
2828
<Menu as="div" className="relative inline-block text-left">
@@ -68,7 +68,7 @@ export function Filters({
6868
{filterState[section.name].length}
6969
</span>
7070
) : null}
71-
<ChevronDownIcon
71+
<ChevronDown
7272
className="-mr-1 ml-1 size-5 shrink-0 text-gray-400 group-hover:text-gray-500"
7373
aria-hidden="true"
7474
/>

0 commit comments

Comments
 (0)