Skip to content

Commit

Permalink
fix(icons-react): use HTMLAttributes instead of HTMLProps (#629)
Browse files Browse the repository at this point in the history
  • Loading branch information
vagusX authored Mar 15, 2024
1 parent adbb154 commit 0887dca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/icons-react/src/components/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Context from './Context';

import { svgBaseProps, warning, useInsertStyles } from '../utils';

export interface IconBaseProps extends React.HTMLProps<HTMLSpanElement> {
export interface IconBaseProps extends React.HTMLAttributes<HTMLSpanElement> {
spin?: boolean;
rotate?: number;
}
Expand Down

0 comments on commit 0887dca

Please sign in to comment.