import { Button, Flex, Link, WrapItem, Text, Wrap } from '@chakra-ui/react'; import download from 'downloadjs'; import JSZip from 'jszip'; import { Download, Github } from 'lucide-react'; import { IconCustomizerDrawer } from './IconCustomizerDrawer'; function generateZip(icons) { const zip = new JSZip(); Object.values(icons).forEach(icon => // @ts-ignore zip.file(`${icon.name}.svg`, icon.src), ); return zip.generateAsync({ type: 'blob' }); } const Header = ({ data }) => { const downloadAllIcons = async () => { const zip = await generateZip(data); download(zip, 'lucide.zip'); }; const repositoryUrl = 'https://github.com/lucide-icons/lucide'; return ( Simply beautiful open source icons, community-sourced An open-source icon library, a fork of{' '} Feather Icons .
We're expanding the icon set as much as possible while keeping it nice-looking -{' '} join us !
); }; export default Header;