Skip to content

Commit

Permalink
feat: replace lucide react with react icons (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
krishna-santosh authored Nov 30, 2023
1 parent 425261f commit 8409d1a
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Comes with...
- Zustand
- Tailwind CSS
- DaisyUI
- Lucide React
- React Icons
- PWA
- Vite, ESLint, Prettier

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"fmt": "prettier -w ."
},
"dependencies": {
"lucide-react": "^0.293.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^4.12.0",
"react-router-dom": "^6.20.0",
"zustand": "^4.4.6"
},
Expand Down
22 changes: 11 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified public/screenshots/d2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/screenshots/p2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/pages/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const About = () => {
<li>Zustand </li>
<li>Tailwind CSS </li>
<li>DaisyUI </li>
<li>Lucide React </li>
<li>React Icons</li>
<li>PWA</li>
<li>Vite, ESLint, Prettier </li>
</ul>
Expand Down
6 changes: 3 additions & 3 deletions src/pages/Home.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Minus, Plus } from "lucide-react";
import { LuMinus, LuPlus } from "react-icons/lu";
import { useCount } from "../store/count";

const Home = () => {
Expand All @@ -11,15 +11,15 @@ const Home = () => {
className="btn btn-secondary"
onClick={decrementCount}
>
<Minus />
<LuMinus className="text-2xl" />
</button>
<h1 className="text-4xl">{count}</h1>
<button
aria-label="Plus 1"
className="btn btn-secondary"
onClick={incrementCount}
>
<Plus />
<LuPlus className="text-2xl" />
</button>
</div>
);
Expand Down

0 comments on commit 8409d1a

Please sign in to comment.