Import source: src/components/CenterPanel/forms/MP3Form

Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality.
This commit is contained in:
arsam
2026-09-18 23:16:45 +03:30
parent 848dcd7900
commit 561111ae6c
@@ -0,0 +1,15 @@
import { useQR } from '../../../context/QRContext';
import { TextInput } from '../../ui/TextInput';
export function MP3Form() {
const { state, dispatch } = useQR();
return (
<TextInput
label="MP3 URL"
value={state.formData.mp3.mp3Url}
onChange={(v) => dispatch({ type: 'SET_FORM_FIELD', qrType: 'mp3', field: 'mp3Url', value: v })}
placeholder="https://example.com/audio.mp3"
type="url"
/>
);
}