From aea061235577b8e52f1ae1d6ef281c1b78df39ec Mon Sep 17 00:00:00 2001 From: arsam Date: Fri, 18 Sep 2026 23:17:03 +0330 Subject: [PATCH] Import source: src/components/LeftPanel/LeftPanel Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality. --- src/components/LeftPanel/LeftPanel.tsx | 32 ++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/components/LeftPanel/LeftPanel.tsx diff --git a/src/components/LeftPanel/LeftPanel.tsx b/src/components/LeftPanel/LeftPanel.tsx new file mode 100644 index 0000000..bed2b8b --- /dev/null +++ b/src/components/LeftPanel/LeftPanel.tsx @@ -0,0 +1,32 @@ +import { useQR } from '../../context/QRContext'; +import { QR_TYPES } from '../../config/qrTypes'; +import { TypeListItem } from './TypeListItem'; + +export function LeftPanel() { + const { state, dispatch } = useQR(); + + return ( +
+
+

Select QR type

+
+
+ {QR_TYPES.map((config) => ( + dispatch({ type: 'SET_TYPE', payload: config.key })} + /> + ))} +
+
+ ); +}