diff --git a/src/components/RightPanel/DownloadSizeSection.tsx b/src/components/RightPanel/DownloadSizeSection.tsx new file mode 100644 index 0000000..fa435ff --- /dev/null +++ b/src/components/RightPanel/DownloadSizeSection.tsx @@ -0,0 +1,20 @@ +import { useQR } from '../../context/QRContext'; +import { SegmentedControl } from '../ui/SegmentedControl'; +import type { DownloadSize } from '../../types'; + +const SIZE_OPTIONS: { label: string; value: DownloadSize }[] = [ + { label: 'Social', value: 'social' }, + { label: 'Card', value: 'card' }, + { label: 'Print', value: 'print' }, +]; + +export function DownloadSizeSection() { + const { state, dispatch } = useQR(); + return ( +
+

Download Size

+ dispatch({ type: 'SET_DOWNLOAD_SIZE', payload: v })} /> +
+ ); +}