<script lang="ts">
    import { Button } from '$lib/components/ui/button';
    import { FileDown } from 'lucide-svelte';
    import InvoiceDownloadModal from './invoice-download-modal.svelte';



    let isModalOpen = false;
</script>

<Button 
    variant="outline" 
    onclick={() => isModalOpen = true} 
    class="w-[100px]"
>
    <FileDown size={16} class="mr-2" />
    PDF
</Button>

<InvoiceDownloadModal 
    bind:open={isModalOpen} 
    onConfirm={() => console.log('Download not implemented in this context')} 
/>
