Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

fix(ui): retain native SVG props on icon wrappers

vastsae1d0d050a721
diff --git a/apps/desktop/src/components/icons.tsx b/apps/desktop/src/components/icons.tsx
index 421d000e3..13f39d92c 100644
--- a/apps/desktop/src/components/icons.tsx
+++ b/apps/desktop/src/components/icons.tsx
@@ -105,7 +105,7 @@ import {
type LucideProps,
} from "lucide-react";
-export type IconProps = LucideProps;
+export type IconProps = LucideProps & SVGProps<SVGSVGElement>;
/**
* Lucide sizes are fixed px attributes. Multiply them by `--font-scale` so