Skip to content

Commit 2b897a9

Browse files
committed
fix: accept legacy style props in IconSvg during migration
1 parent df5ecfc commit 2b897a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ui/shared/IconSvg.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ export { IconName };
1111
export interface Props extends React.HTMLAttributes<HTMLDivElement> {
1212
name: IconName;
1313
isLoading?: boolean;
14+
// Accept legacy Chakra style props as pass-through during migration
15+
[key: string]: unknown;
1416
}
1517

1618
const IconSvg = React.forwardRef(

0 commit comments

Comments
 (0)