Skip to content

Commit 76d2b64

Browse files
authored
Refactor/large code (#125)
* refactor(card section): ♻️ have list and options as seperate components * fix(blur hash): 🐛 updated the default hash * feat(video): ✨ added video player modal * refactor(ref): ♻️ removed dummy comments * fix(TS): 🐛 ts issues fix
1 parent 3ea51d2 commit 76d2b64

File tree

8 files changed

+579
-449
lines changed

8 files changed

+579
-449
lines changed

src/icons/actionIcons/playIcon.tsx

+8
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
1+
import { type PointerEvent } from "react";
2+
13
const PlayIcon = ({
24
className,
35
size = "40",
6+
onClick,
7+
onPointerDown,
48
}: {
59
className: string;
10+
onClick?: () => void;
11+
onPointerDown?: (event: PointerEvent) => void;
612
size?: string;
713
}) => (
814
<svg
915
className={className}
1016
height={size}
1117
id="play"
18+
onClick={onClick}
19+
onPointerDown={onPointerDown}
1220
viewBox="0 0 256 256"
1321
width={size}
1422
>

0 commit comments

Comments
 (0)