diff --git a/src/components/CenterPanel/forms/VCardForm.tsx b/src/components/CenterPanel/forms/VCardForm.tsx new file mode 100644 index 0000000..5afbfbe --- /dev/null +++ b/src/components/CenterPanel/forms/VCardForm.tsx @@ -0,0 +1,23 @@ +import { useQR } from '../../../context/QRContext'; +import { TextInput } from '../../ui/TextInput'; + +export function VCardForm() { + const { state, dispatch } = useQR(); + const set = (field: string, value: string) => + dispatch({ type: 'SET_FORM_FIELD', qrType: 'vcard', field, value }); + const f = state.formData.vcard; + return ( +