|
@@ -11,7 +11,7 @@ type Props = {
|
11
|
11
|
/**
|
12
|
12
|
* Class name for the web platform, if any.
|
13
|
13
|
*/
|
14
|
|
- className?: string,
|
|
14
|
+ className: string,
|
15
|
15
|
|
16
|
16
|
/**
|
17
|
17
|
* Color of the icon (if not provided by the style object).
|
|
@@ -68,7 +68,7 @@ export default function Icon(props: Props) {
|
68
|
68
|
|
69
|
69
|
return (
|
70
|
70
|
<Container
|
71
|
|
- className = { className }
|
|
71
|
+ className = { `jitsi-icon ${className}` }
|
72
|
72
|
style = { restStyle }>
|
73
|
73
|
<IconComponent
|
74
|
74
|
fill = { calculatedColor }
|
|
@@ -79,3 +79,6 @@ export default function Icon(props: Props) {
|
79
|
79
|
);
|
80
|
80
|
}
|
81
|
81
|
|
|
82
|
+Icon.defaultProps = {
|
|
83
|
+ className: ''
|
|
84
|
+};
|