fix(pdf): fix react-pdf svg type compilation error

This commit is contained in:
2026-06-10 11:19:21 +02:00
parent 6c14ceec3e
commit 292557eca5

View File

@@ -316,7 +316,7 @@ const parseSvgPaths = (filePath: string) => {
const VectorLogo = ({ paths, style }: { paths: { d: string; fill: string }[]; style: any }) => (
<Svg viewBox="0 0 295 99" style={style}>
<G fillRule="evenodd" clipRule="evenodd">
<G {...({ fillRule: 'evenodd', clipRule: 'evenodd' } as any)}>
{paths.map((p, i) => (
<Path key={i} d={p.d} fill={p.fill} />
))}