From 8565b4ef3967d011475140282d507555cb635940 Mon Sep 17 00:00:00 2001 From: arsam Date: Fri, 18 Sep 2026 23:17:05 +0330 Subject: [PATCH] Import source: src/components/LeftPanel/TypeListItem Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality. --- src/components/LeftPanel/TypeListItem.tsx | 38 +++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 src/components/LeftPanel/TypeListItem.tsx diff --git a/src/components/LeftPanel/TypeListItem.tsx b/src/components/LeftPanel/TypeListItem.tsx new file mode 100644 index 0000000..3c5d6a8 --- /dev/null +++ b/src/components/LeftPanel/TypeListItem.tsx @@ -0,0 +1,38 @@ +import { useTheme } from '../../context/ThemeContext'; +import type { QRTypeConfig } from '../../config/qrTypes'; + +interface Props { + config: QRTypeConfig; + selected: boolean; + onClick: () => void; +} + +export function TypeListItem({ config, selected, onClick }: Props) { + const { isDark } = useTheme(); + const thumb = isDark ? config.thumbDark : config.thumb; + + return ( + + ); +}