import type { OutputFormat } from "../types"; interface OutputFormatSelectorProps { value: OutputFormat; onChange: (format: OutputFormat) => void; disabled?: boolean; } const OPTIONS: OutputFormat[] = ["wav", "mp3", "aac"]; export function OutputFormatSelector({ value, onChange, disabled, }: OutputFormatSelectorProps) { return (
Output format Defaults from the original source when supported
{OPTIONS.map((format) => { const selected = value === format; return ( ); })}
); }