Add audio file input and handler in App.tsx

This commit is contained in:
2026-04-02 19:43:26 +02:00
parent 02295bef0e
commit ccbe4a6403

View File

@@ -5118,6 +5118,13 @@ export function App({ store, initialStatusMessage }: AppProps) {
accept=".avif,.exr,.gif,.hdr,.jpg,.jpeg,.png,.svg,.webp,image/*"
onChange={handleImportBackgroundImageChange}
/>
<input
ref={importAudioInputRef}
className="visually-hidden"
type="file"
accept=".aac,.flac,.m4a,.mp3,.oga,.ogg,.wav,.webm,audio/*"
onChange={handleImportAudioChange}
/>
</div>
);
}