Change IconComponent type to be compatible with MUI5

Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
This commit is contained in:
Philipp Hugenroth
2023-06-19 10:31:17 +02:00
parent a998bcd2ed
commit 37978d288f
+1 -1
View File
@@ -33,5 +33,5 @@ import { ComponentType } from 'react';
* @public
*/
export type IconComponent = ComponentType<{
fontSize?: 'default' | 'small' | 'large';
fontSize?: 'inherit' | 'medium' | 'large' | 'small';
}>;