diff --git a/packages/core/src/components/icon/icon.tsx b/packages/core/src/components/icon/icon.tsx index d2e06845e2..56dae063b9 100644 --- a/packages/core/src/components/icon/icon.tsx +++ b/packages/core/src/components/icon/icon.tsx @@ -24,7 +24,7 @@ import { Classes, DISPLAYNAME_PREFIX, IntentProps, MaybeElement, Props, removeNo // re-export for convenience, since some users won't be importing from or have a direct dependency on the icons package export { IconName, IconSize }; -export type IconHTMLAttributes = Omit, "children" | "title">; +export type IconHTMLAttributes = Omit, "children" | "title">; export interface IconProps extends IntentProps, Props, SVGIconProps, IconHTMLAttributes { /** diff --git a/packages/icons/src/svgIconProps.ts b/packages/icons/src/svgIconProps.ts index 4df9b3269e..c27896d989 100644 --- a/packages/icons/src/svgIconProps.ts +++ b/packages/icons/src/svgIconProps.ts @@ -21,7 +21,7 @@ import * as React from "react"; */ export interface SVGIconProps extends React.RefAttributes, - Omit, "children" | "dangerouslySetInnerHTML"> { + Omit, "children" | "dangerouslySetInnerHTML"> { /** A space-delimited list of class names to pass along to the SVG element. */ className?: string;