import { useQR } from '../../../context/QRContext'; import { TextInput } from '../../ui/TextInput'; export function PDFForm() { const { state, dispatch } = useQR(); return ( dispatch({ type: 'SET_FORM_FIELD', qrType: 'pdf', field: 'pdfUrl', value: v })} placeholder="https://example.com/document.pdf" type="url" /> ); }