diff --git a/types/react-icon-base/index.d.ts b/types/react-icon-base/index.d.ts index 7697b42bb5..e60719a762 100644 --- a/types/react-icon-base/index.d.ts +++ b/types/react-icon-base/index.d.ts @@ -9,11 +9,8 @@ import * as React from "react"; export = IconBaseClass; declare namespace IconBaseClass { - interface IconBaseProps { - color?: string; + interface IconBaseProps extends React.SVGProps { size?: string | number; - style?: React.CSSProperties; - viewBox?: string; } } diff --git a/types/react-icon-base/react-icon-base-tests.tsx b/types/react-icon-base/react-icon-base-tests.tsx index c0d56f03f2..cb4fe929a9 100644 --- a/types/react-icon-base/react-icon-base-tests.tsx +++ b/types/react-icon-base/react-icon-base-tests.tsx @@ -1,4 +1,4 @@ import * as React from "react"; import * as IconBase from "react-icon-base"; -export default ; +export default ;