const fs = require('fs'); const svgContent = fs.readFileSync('public/logo-white.svg', 'utf8'); const pathRegex = / = ({ width = 140, color = '#ffffff' }) => { const height = width * (99 / 295); return ( ${paths.map(d => ` `).join('\n')} ); }; `; fs.writeFileSync('lib/KLZLogoVector.tsx', componentCode); console.log('Successfully wrote lib/KLZLogoVector.tsx');